wok-4.x annotate dietlibc-dev/receipt @ rev 11220
Add from wok-undigest: dansguardian dietlibc dietlibc-dev directfb directfb-dev distccmon-gui dovecot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 23:07:20 2011 +0100 (2011-11-03) |
parents | |
children |
rev | line source |
---|---|
pascal@11220 | 1 # SliTaz package receipt. |
pascal@11220 | 2 |
pascal@11220 | 3 PACKAGE="dietlibc-dev" |
pascal@11220 | 4 VERSION="0.32" |
pascal@11220 | 5 CATEGORY="development" |
pascal@11220 | 6 SHORT_DESC="A libc optimized for small size." |
pascal@11220 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11220 | 8 WEB_SITE="http://www.fefe.de/dietlibc/" |
pascal@11220 | 9 WANTED="dietlibc" |
pascal@11220 | 10 |
pascal@11220 | 11 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 12 genpkg_rules() |
pascal@11220 | 13 { |
pascal@11220 | 14 mkdir -p $fs/usr/lib/diet/ $fs/usr/bin $fs/usr/include |
pascal@11220 | 15 cp -a $src/include $fs/usr/lib/diet |
pascal@11220 | 16 ln -s ../lib/diet/include $fs/usr/include/diet |
pascal@11220 | 17 cp -a $_pkg/usr/lib/diet/lib-i386 $fs/usr/lib/diet |
pascal@11220 | 18 rm -rf $fs/usr/lib/diet/lib-i386/*.so |
pascal@11220 | 19 cp -a $_pkg/usr/lib/diet/bin $fs/usr/lib/diet |
pascal@11220 | 20 ln -s /usr/lib/diet/bin/diet $fs/usr/bin |
pascal@11220 | 21 ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin |
pascal@11220 | 22 ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin |
pascal@11220 | 23 } |