# lincityng/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. A procedure similar to the following was used. "YYMMDD" specifies a six-digit date. OUTBASE=lincityng YYMMDD=180716 DIR=$OUTBASE-git-$YYMMDD URL=https://github.com/lincity-ng/lincity-ng.git rm -fr $OUTBASE $DIR $DIR.tar* git clone $URL $DIR tar cf - $DIR | pbzip2 -c > $DIR.tar.bz2 tardate $DIR.tar.bz2 #--------------------------------------------------------------------- [buildtimes] 00.04 hours (or 002.30 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.07 hours (or 003.92 minutes) - HP EliteBook 8560w 32GB RAM 00.07 hours (or 004.28 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.15 hours (or 009.02 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes exepack = yes ldbefore = -lX11 -lc license = See "license*.txt" in installed tree nosyslinks = yes revision = numeric tmpsize = 607M unpack = relaxed setpaths = physfs01 xorg #--------------------------------------------------------------------- [depends] actools gawk grep jam libxml2 libxslt physfs01 pkgconf sdl sed xorg # with OpenGL support zlib #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE ./autogen.sh bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-debug \ --disable-profile \ --enable-optimize \ --mandir=$MANBASE #--------------------------------------------------------------------- [build] touch CREDITS jam jam install #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc MISCDIR=$PKGDIR_PROD/misc mkdir -p $BINDIR $DOCDIR $MISCDIR PROGBASE=lincityng SPCICON=$PKGDIR_SPECIAL/icons SPCMISC=$PKGDIR_SPECIAL/misc SPCWRAP=$PKGDIR_SPECIAL/wrappers cp -p COPYING $DOCDIR/license-$PROGBASE-code.txt cp -p COPYING-data.txt $DOCDIR/license-$PROGBASE-data.txt cp -p COPYING-fonts.txt $DOCDIR/license-$PROGBASE-fonts.txt cp -a $SPCICON/ocaalert.png $MISCDIR/alert.png cd $BINDIR mv lincity-ng $PROGBASE.bin 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://lincity-ng.berlios.de/ url_lfs = n/a url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 180716 Updated from 2.0 to 180716 ("git"-based)