wok-4.x annotate dietlibc/receipt @ rev 11858
up nss 3.13.3
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Feb 27 08:34:30 2012 -0800 (2012-02-27) |
parents | |
children |
rev | line source |
---|---|
pascal@11220 | 1 # SliTaz package receipt. |
pascal@11220 | 2 |
pascal@11220 | 3 PACKAGE="dietlibc" |
pascal@11220 | 4 VERSION="0.32" |
pascal@11220 | 5 CATEGORY="development" |
pascal@11220 | 6 SHORT_DESC="A libc optimized ofr small size." |
pascal@11220 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11220 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11220 | 9 WEB_SITE="http://www.fefe.de/dietlibc/" |
pascal@11220 | 10 WGET_URL="http://www.kernel.org/pub/linux/libs/$PACKAGE/$TARBALL" |
pascal@11220 | 11 |
pascal@11220 | 12 # Rules to configure and make the package. |
pascal@11220 | 13 compile_rules() |
pascal@11220 | 14 { |
pascal@11220 | 15 cd $src |
pascal@11220 | 16 mkdir -p $PWD/_pkg/etc |
pascal@11220 | 17 make -j 1 prefix=/usr/lib/diet && |
pascal@11220 | 18 make -j 1 dyn prefix=/usr/lib/diet && |
pascal@11220 | 19 make prefix=/usr/lib/diet DESTDIR=$PWD/_pkg install |
pascal@11220 | 20 } |
pascal@11220 | 21 |
pascal@11220 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 23 genpkg_rules() |
pascal@11220 | 24 { |
pascal@11220 | 25 mkdir -p $fs/usr/lib/diet/lib-i386 $fs/etc |
pascal@11220 | 26 cp -a $_pkg/usr/lib/diet/lib-i386/*.so $fs/usr/lib/diet/lib-i386 |
pascal@11220 | 27 echo /usr/lib/diet/lib-i386 > $fs/etc/diet.ld.conf |
pascal@11220 | 28 } |