# nwcc/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.30 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.30 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.53 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.02 hours (or 001.07 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] exepack = yes license = See "license*.txt" in installed tree licfile = COPYING nosyslinks = include setpaths = nasm2 tmpsize = 12M #--------------------------------------------------------------------- [depends] nasm2 #--------------------------------------------------------------------- [configure] bash ./configure --installprefix=$PKGDIR_PROD #--------------------------------------------------------------------- [build] sed -e 's@/[a-z0-9/]*/\(crt[1a-z]\.o\)@/laclin64/pkg/glibc/lib/\1@g' \ -e 's@/[a-z0-9/]*/\(crtbegin[a-z]\.o\)@/laclin64/pkg/glibc/\1@g' \ -i `find . -name \*.c` make make install DOCDIR=$PKGDIR_PROD/doc mkdir -p $DOCDIR mv NEWS $DOCDIR/news.txt mv README.first $DOCDIR/readme.txt mv USAGE $DOCDIR/usage.txt cd $PKGDIR_PROD rm -fr bin lib mv nwcc/* . rmdir nwcc cd bin mv nwcc{,.bin} sed -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ < $PKGDIR_SPECIAL/wrappers/nwcc-wrapper.in \ > nwcc chmod 755 nwcc #--------------------------------------------------------------------- # 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 = n/a url_home = http://nwcc.sourceforge.net/ url_lfs = n/a url_tarball = http://downloads.sourceforge.net/nwcc/\ nwcc_0.8.2.tar.gz #--------------------------------------------------------------------- [about] "nwcc" is an experimental "small C" compiler. As of early 2009, "nwcc" isn't ready for production use. The compiler has bugs, and some lang- uage features are missing. However, this package is noteworthy because the source code has been released under a very generous BSD-style lic- ense. This means that you can use the code for a wide range of pur- poses. For more information, see the "doc" subdirectory in the instal- led package tree.