wok-next view dietlibc-dev/receipt @ rev 11619
Up iron-linux (16.0.950.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Jan 23 19:52:09 2012 +0000 (2012-01-23) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dietlibc-dev"
4 VERSION="0.32"
5 CATEGORY="development"
6 SHORT_DESC="A libc optimized for small size."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.fefe.de/dietlibc/"
9 WANTED="dietlibc"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib/diet/ $fs/usr/bin $fs/usr/include
15 cp -a $src/include $fs/usr/lib/diet
16 ln -s ../lib/diet/include $fs/usr/include/diet
17 cp -a $_pkg/usr/lib/diet/lib-i386 $fs/usr/lib/diet
18 rm -rf $fs/usr/lib/diet/lib-i386/*.so
19 cp -a $_pkg/usr/lib/diet/bin $fs/usr/lib/diet
20 ln -s /usr/lib/diet/bin/diet $fs/usr/bin
21 ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin
22 ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin
23 }