# libaldmb/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package has been renamed. #--------------------------------------------------------------------- 2. As of early 2007, the official version of "libaldmb" builds static libraries. This distro modifies the package to build dynamic librar- ies instead. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.43 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.47 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.57 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.03 hours (or 001.67 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] addopt = -fPIC -O3 compiler = gcc configure = none license = See "license*.txt" in installed tree licfile = licence.txt revision = numeric tmpsize = 12M unpack = relaxed setpaths = \ alsa jackone libaldmb openal \ xorg \ allegro-legacy #--------------------------------------------------------------------- [depends] actools allegro5 allegro-legacy alsa audiofile brotli bzip2 cairo cmake coreutils cryptsetup dbus esound expat flac fontconfig freeimage freetype2 fribidi graphite2 grep gtkcore jackone jpeg jsonc lame libaldmb:forward libbsd libffi libogg libpng libsndfile libvorbis libwebp lvm2 minimp3 mpg123:forward ncurses openal:forward openmpt openssl opus opusfile pcre2 pkgconf pulseaudio texinfo theora util-linux xorg zlib #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib mkdir -p $BINDIR $DOCDIR $INCDIR $LIBDIR mkdir -p lib/unix obj/unix/release export LACINCDIRS=$LACINCDIRS:$PRODTREE/allegro5/include cp -p $PKGDIR_SPECIAL/config.sh.local make/config.sh chmod 755 make/config.sh rm -fr examples vc6 rm -fr Makefile.rdy cp -p Makefile Makefile.rdy sed -e 's@ core-examples @ @' \ -e 's@ allegro-examples @ @' \ -i make/config.* PREFIX=$PKGDIR_PROD make CFLAGS_EXTRA=-fPIC PREFIX=$PKGDIR_PROD make install #--------------------------------------------------------------------- rm -fr $LIBDIR/*.a $LIBDIR/*.so* cd src #--------------------------------------------------------------------- gcc -fPIC -I../include -O3 -Wl,-soname,libdumb.so.1 -shared \ \ core/atexit.c core/duhlen.c core/duhtag.c \ core/dumbfile.c core/loadduh.c core/makeduh.c \ core/rawsig.c core/readduh.c core/register.c \ core/rendduh.c core/rendsig.c core/unload.c \ helpers/clickrem.c helpers/memfile.c helpers/resample.c \ helpers/sampbuf.c helpers/silence.c helpers/stdfile.c \ it/itload.c it/itread.c it/itload2.c \ it/itread2.c it/itrender.c it/itunload.c \ it/loads3m.c it/reads3m.c it/loadxm.c \ it/readxm.c it/loadmod.c it/readmod.c \ it/loads3m2.c it/reads3m2.c it/loadxm2.c \ it/readxm2.c it/loadmod2.c it/readmod2.c \ it/xmeffect.c it/itorder.c it/itmisc.c \ \ -o libdumb.so.1.0.0 -lm -lc ln -nsf libdumb.so.1.0.0 libdumb.so.1.0 ln -nsf libdumb.so.1.0 libdumb.so.1 ln -nsf libdumb.so.1 libdumb.so ln -nsf libdumb.so libdumbd.so cp -a libdu*.so* $LIBDIR/ #--------------------------------------------------------------------- gcc -fPIC -I../include -O3 -Wl,-soname,libaldmb.so.1 -shared \ \ allegro/alplay.c allegro/datduh.c allegro/datit.c \ allegro/datxm.c allegro/dats3m.c allegro/datmod.c \ allegro/datitq.c allegro/datxmq.c allegro/dats3mq.c \ allegro/datmodq.c allegro/datunld.c allegro/packfile.c \ \ -o libaldmb.so.1.0.0 \ -ldumb \ -L$PRODTREE/allegro-legacy/lib -lalleg \ -lm -lc ln -nsf libaldmb.so.1.0.0 libaldmb.so.1.0 ln -nsf libaldmb.so.1.0 libaldmb.so.1 ln -nsf libaldmb.so.1 libaldmb.so ln -nsf libaldmb.so libaldmd.so cp -a libal*.so* $LIBDIR/ #--------------------------------------------------------------------- # 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 = tbd url_home = n/a url_lfs = n/a url_tarball = http://ftp.debian.org/debian/pool/main/libd/\ libdumb/libdumb_0.9.3.orig.tar.gz #--------------------------------------------------------------------- [history] 250614 Reworked build procedure 250614 Rebased on "allegro-legacy"