wok-current annotate dietlibc/receipt @ rev 19678
Update licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 10 13:15:17 2017 +0100 (2017-02-10) |
parents | 92f66e45cea7 |
children | 3705d68ed8f3 |
rev | line source |
---|---|
pascal@11220 | 1 # SliTaz package receipt. |
pascal@11220 | 2 |
pascal@11220 | 3 PACKAGE="dietlibc" |
pascal@14365 | 4 VERSION="0.33" |
pascal@11220 | 5 CATEGORY="development" |
pascal@11220 | 6 SHORT_DESC="A libc optimized ofr small size." |
pascal@11220 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14747 | 8 LICENSE="GPL2" |
pascal@11220 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11220 | 10 WEB_SITE="http://www.fefe.de/dietlibc/" |
pascal@11220 | 11 WGET_URL="http://www.kernel.org/pub/linux/libs/$PACKAGE/$TARBALL" |
pascal@11220 | 12 |
pascal@11220 | 13 # Rules to configure and make the package. |
pascal@11220 | 14 compile_rules() |
pascal@11220 | 15 { |
pascal@11220 | 16 cd $src |
pascal@14365 | 17 sed -i 's|.*/nice.S.*|// &|' i386/dyn_syscalls.S |
pascal@14365 | 18 make prefix=/usr/lib/diet && |
pascal@14365 | 19 #make dyn prefix=/usr/lib/diet && |
pascal@14365 | 20 make prefix=/usr/lib/diet DESTDIR=$DESTDIR install 2> /dev/null |
pascal@11220 | 21 } |
pascal@11220 | 22 |
pascal@11220 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 24 genpkg_rules() |
pascal@11220 | 25 { |
pascal@14747 | 26 mkdir -p $fs/usr/bin $fs/usr/include |
pascal@14365 | 27 cp -a $install/* $fs |
pascal@19678 | 28 cp -a $install/usr/lib/diet/man $install/usr |
pascal@14747 | 29 ln -s ../lib/diet/include $fs/usr/include/diet |
pascal@14747 | 30 ln -s /usr/lib/diet/bin/diet $fs/usr/bin |
pascal@14747 | 31 ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin |
pascal@14747 | 32 ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin |
pascal@11220 | 33 } |