diff --git a/distro/deb/control-v0.9b-i386 b/distro/deb/control-v0.9b-i386 new file mode 100644 index 0000000..162a353 --- /dev/null +++ b/distro/deb/control-v0.9b-i386 @@ -0,0 +1,24 @@ +Package: sgpemv2 +Version: 0.9b +Section: misc +Source: http://www.smoking-gnu.net/res/tar-pit/sgpemv2/sgpemv2-0.9b.tar.bz2 +Priority: optional +Architecture: i386 +Pre-Depends: libstdc++6 +Depends: libgtkmm-2.4-1c2a, libglademm-2.4-1c2a, libxml2 (>= 2.6.10), libcairo, python (>= 2.3) +Installed-Size: 3049.85 +Maintainer: Marco Trevisan +Provides: sgpemv2 +Description: A graphical process management simulator for a + multitasking computer, developed with educational + aims for Operating Systems courses at universities +. +SGPEM is an Italian acronym, standing for "Simulatore della Gestione +dei Processi in un Elaboratore Multiprogrammato" (in English, "Process +Management Simulator for a Multitasking Computer"). It was initially +developed for use inside the "Operating Systems" teaching, part of the +Computer Science course of the University of Padova, Italy. The aim of +SGPEM is to provide an easy-to-use environment for simulating process +scheduling policies, and for assigning resources in a multitasking +computer. SGPEMv2 is an educational software, and it can help students +to better understand the functionality of operating systems. diff --git a/distro/ebuild/sgpemv2-0.00.ebuild b/distro/ebuild/sgpemv2-0.9b.ebuild similarity index 78% rename from distro/ebuild/sgpemv2-0.00.ebuild rename to distro/ebuild/sgpemv2-0.9b.ebuild index 0b8f0d6..c816145 100644 --- a/distro/ebuild/sgpemv2-0.00.ebuild +++ b/distro/ebuild/sgpemv2-0.9b.ebuild @@ -37,19 +37,27 @@ src_compile() { mkdir build && cd build - ../econf ${conf_opts} || die "configure failed" + ../configure --prefix=/usr \ + --host=${CHOST} \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --datadir=/usr/share \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + ${EXTRA_ECONF} ${conf_opts} || die "configure failed" + emake || die "make all failed" if use doc; then - make apidox make pdf fi } src_install() { + cd build make install DESTDIR="${D}" if use doc; then - dohtml -r doc/API + dohtml -r doc/API/html/* dodoc AUTHORS COPYING NEWS README ChangeLog docinto manuals dodoc doc/sgpem2dman.pdf doc/sgpem2uman.pdf