wok-6.x view dietlibc/receipt @ rev 11291
firefox-langpack-*: Fixed all $TARBALL to be saved as $PACKAGE-$VERSION.zip. This is so it doesn't use the older $LANG.xpi files on tank.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 11 07:15:49 2011 +0000 (2011-11-11) |
parents | |
children | f7aac850c3cd |
line source
1 # SliTaz package receipt.
3 PACKAGE="dietlibc"
4 VERSION="0.32"
5 CATEGORY="development"
6 SHORT_DESC="A libc optimized ofr small size."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.fefe.de/dietlibc/"
10 WGET_URL="http://www.kernel.org/pub/linux/libs/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 mkdir -p $PWD/_pkg/etc
17 make -j 1 prefix=/usr/lib/diet &&
18 make -j 1 dyn prefix=/usr/lib/diet &&
19 make prefix=/usr/lib/diet DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib/diet/lib-i386 $fs/etc
26 cp -a $_pkg/usr/lib/diet/lib-i386/*.so $fs/usr/lib/diet/lib-i386
27 echo /usr/lib/diet/lib-i386 > $fs/etc/diet.ld.conf
28 }