wok-current view dietlibc/receipt @ rev 12546
Up: libtool and make ntop build a bit more :-/ (busybox install bug now)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 26 14:13:34 2012 +0200 (2012-04-26) |
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 }