# SliTaz package receipt. PACKAGE="dietlibc" VERSION="0.32" CATEGORY="development" SHORT_DESC="A libc optimized ofr small size." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.fefe.de/dietlibc/" WGET_URL="http://www.kernel.org/pub/linux/libs/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src mkdir -p $PWD/_pkg/etc make -j 1 prefix=/usr/lib/diet && make -j 1 dyn prefix=/usr/lib/diet && make prefix=/usr/lib/diet DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/diet/lib-i386 $fs/etc cp -a $_pkg/usr/lib/diet/lib-i386/*.so $fs/usr/lib/diet/lib-i386 echo /usr/lib/diet/lib-i386 > $fs/etc/diet.ld.conf }