wok-next view dietlibc/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents cbca1c858654
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dietlibc"
4 VERSION="0.33"
5 CATEGORY="development"
6 SHORT_DESC="A libc optimized for small size"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.fefe.de/dietlibc/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.kernel.org/pub/linux/libs/$PACKAGE/$TARBALL"
14 compile_rules() {
15 sed -i 's|.*/nice.S.*|// &|' i386/dyn_syscalls.S
17 make prefix=/usr/lib/diet &&
18 #make dyn prefix=/usr/lib/diet &&
19 make prefix=/usr/lib/diet DESTDIR=$install install
20 }
22 genpkg_rules() {
23 mkdir -p $fs/usr/bin $fs/usr/include
24 cp -a $install/* $fs
25 cp -a $install/usr/lib/diet/man $install/usr
26 ln -s ../lib/diet/include $fs/usr/include/diet
27 ln -s /usr/lib/diet/bin/diet $fs/usr/bin
28 ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin
29 ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin
30 }