wok annotate dietlibc/receipt @ rev 18884

Up backuppc (3.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 12 09:38:53 2016 +0100 (2016-02-12)
parents f7aac850c3cd
children 5e6810e4a860
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@14747 28 ln -s ../lib/diet/include $fs/usr/include/diet
pascal@14747 29 ln -s /usr/lib/diet/bin/diet $fs/usr/bin
pascal@14747 30 ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin
pascal@14747 31 ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin
pascal@11220 32 }