wok-undigest view dietlibc/receipt @ rev 213

ovzkernel-i686: add gztazmod
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 04 07:32:18 2011 +0100 (2011-01-04)
parents
children bf306d2a77c3
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 make prefix=/usr/lib/diet &&
17 make dyn prefix=/usr/lib/diet &&
18 make prefix=/usr/lib/diet DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib/diet/lib-i386 $fs/etc
25 cp -a $_pkg/usr/lib/diet/lib-i386/*.so $fs/usr/lib/diet/lib-i386
26 echo /usr/lib/diet/lib-i386 > $fs/etc/diet.ld.conf
27 }