wok-4.x view dietlibc/receipt @ rev 12297
imagemagick: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 28 13:52:26 2012 +0200 (2012-05-28) |
parents | |
children |
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 }