wok-6.x rev 14365
Up dietlibc (0.33), static only
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 20 18:53:47 2013 +0200 (2013-04-20) |
parents | bc52ad89ff49 |
children | 493facea6dac |
files | dietlibc/receipt |
line diff
1.1 --- a/dietlibc/receipt Sat Apr 20 11:15:52 2013 +0000 1.2 +++ b/dietlibc/receipt Sat Apr 20 18:53:47 2013 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="dietlibc" 1.7 -VERSION="0.32" 1.8 +VERSION="0.33" 1.9 CATEGORY="development" 1.10 SHORT_DESC="A libc optimized ofr small size." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -13,16 +13,14 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 - mkdir -p $PWD/_pkg/etc 1.17 - make -j 1 prefix=/usr/lib/diet && 1.18 - make -j 1 dyn prefix=/usr/lib/diet && 1.19 - make prefix=/usr/lib/diet DESTDIR=$PWD/_pkg install 1.20 + sed -i 's|.*/nice.S.*|// &|' i386/dyn_syscalls.S 1.21 + make prefix=/usr/lib/diet && 1.22 + #make dyn prefix=/usr/lib/diet && 1.23 + make prefix=/usr/lib/diet DESTDIR=$DESTDIR install 2> /dev/null 1.24 } 1.25 1.26 # Rules to gen a SliTaz package suitable for Tazpkg. 1.27 genpkg_rules() 1.28 { 1.29 - mkdir -p $fs/usr/lib/diet/lib-i386 $fs/etc 1.30 - cp -a $_pkg/usr/lib/diet/lib-i386/*.so $fs/usr/lib/diet/lib-i386 1.31 - echo /usr/lib/diet/lib-i386 > $fs/etc/diet.ld.conf 1.32 + cp -a $install/* $fs 1.33 }