wok-next annotate dietlibc/receipt @ rev 13258
fail2ban: add apache-noscript & apache-proxy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 17 14:50:02 2012 +0200 (2012-08-17) |
parents | |
children | f7aac850c3cd |
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 } |