wok-4.x view dietlibc-dev/receipt @ rev 12365

get-skype: use dynamic version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 23 13:46:48 2012 +0100 (2012-12-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 }