# fet/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] # 1. "fet" requires "qt4" with "qt4's" Qt3Support layer included. Some # versions of this distro omit the Qt3Support layer because the assoc- # iated benefit-to-size ratio is small (Qt3Support supposedly adds # "qt3" support to "qt4", but it doesn't seem to work with existing # "qt3" programs). "fet" won't run on the distro versions in ques- # tion. #--------------------------------------------------------------------- # 2. The "build" procedure for this package requires a large amount of # memory. If your system has less than 512MB of RAM, enable enough # swap space to simulate at least that much memory, or the "build" # procedure may fail. #--------------------------------------------------------------------- [buildtimes] 00.20 hours (or 011.93 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.20 hours (or 011.98 minutes) - ThinkPad E540 i7 4x2 16GB RAM 01.66 hours (or 099.32 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes configure = none exepack = yes license = GNU General Public License, version 2 (June 1991) setpaths = qt4 tmpsize = 40M #--------------------------------------------------------------------- [depends] qt4 #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin MANDIR=$PKGDIR_PROD/man/man1 MISCDIR=$PKGDIR_PROD/misc PROGDIR=$PKGDIR_PROD/program mkdir -p $BINDIR $MANDIR $MISCDIR $PROGDIR PROGBASE=fet SPCWRAP=$PKGDIR_SPECIAL/wrappers export QTDIR=$PRODTREE/qt4 qmake smpmake rm -fr fet.pro src tmp rm -fr Makefile translations rm -fr examples/{Belize,Iran} rm -fr examples/{Namibia,Romania} mv fet fet.bin # This is "bash"-specific. mv [[:upper:]]* doc/ gzip -d man/fet.1.gz mv man/fet.1 $MANDIR/ cp -a * $PROGDIR chown -R 0.0 $PROGDIR chmod -R a+w $PROGDIR cd $PKGDIR_PROD ln -s program/doc . cp -a $PKGDIR_SPECIAL/icons/ocaalert.png \ $MISCDIR/alert.png cd $BINDIR sed -e "s|__META_LACUTIL__|$SYSDIR_LACUTIL|g" \ -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ -e "s|__META_PRODTREE__|$PRODTREE|g" \ < $SPCWRAP/$PROGBASE.wrapper.in \ > $PROGBASE chmod 755 $PROGBASE #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://www.lalescu.ro/liviu/fet/ url_lfs = n/a url_manual = http://www.timetabling.de/manual/FET-manual.en.html url_tarball = http://www.lalescu.ro/liviu/fet/download/\ fet-5.26.1.tar.bz2