wok-current view dietlibc/receipt @ rev 11765
up mtr (0.82) and added description
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 22 17:33:57 2012 -0800 (2012-02-22) |
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 }