wok-current view dietlibc-dev/receipt @ rev 12882

Add kbd to ARM
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 25 23:26:50 2012 +0200 (2012-05-25)
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 }