- Update ebuild to behave correctly

- Add control file to create debian packages (still untested,
mantainer will be Marco)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1144 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-14 11:50:23 +00:00
parent c39ecfed50
commit 5df227431b
2 changed files with 35 additions and 3 deletions

View File

@ -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 <evenjin@gmail.com>
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.

View File

@ -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