# megazeux/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This package is based on a Subversion checkout as opposed to an up- stream source tarball. So, the tarball that we're using doesn't have an upstream URL. It was created using commands similar to the follow- ing: NAME=megazeux NUMBER=1638 # SVN release number svn co https://$NAME.svn.sourceforge.net/svnroot/$NAME $NAME rm -fr `find $NAME -name .svn` tar jcf $NAME-svn-$NUMBER.tar.bz2 $NAME #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.42 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.43 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.62 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.04 hours (or 002.60 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes exepack = yes ldbefore = -lX11 -lc license = GNU General Public License, version 2 (June 1991) revision = svn-1638 setpaths = xorg tmpsize = 36M #--------------------------------------------------------------------- [depends] alsa sdl xorg #--------------------------------------------------------------------- [configure] PREFIX=$PKGDIR_PROD mkdir -p $PREFIX/{bin,data,etc,icons,util} cd trunk sh ./config.sh \ --platform unix \ --prefix $PREFIX \ --bindir $PREFIX/util \ --gamesdir $PREFIX/bin \ --sharedir $PREFIX/data \ --sysconfdir $PREFIX/etc #--------------------------------------------------------------------- [build] cd trunk && make && make install #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin ICODIR=$PKGDIR_PROD/data/icons CFGFILE=$PKGDIR_PROD/etc/megazeux-config cd $BINDIR mv megazeux{,.save} sed -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ < $PKGDIR_SPECIAL/wrappers/megazeux.wrapper.in \ > megazeux chmod 755 megazeux setunix $CFGFILE mkdir -p $ICODIR cp -a $PKGDIR_SPECIAL/icons/ocaalert.png $ICODIR/ cd $PKGDIR_PROD unzip -q $PKGDIR_SPECIAL/worlds/worlds.zip #--------------------------------------------------------------------- # 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://sourceforge.net/projects/megazeux/ url_lfs = Not checked yet url_tarball = svn # See "technotes" in "cfg" file