wok-next view dietlibc-dev/receipt @ rev 11651
dev86: register elksemu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 08 11:11:32 2012 +0100 (2012-02-08) |
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 }