wok-next annotate dietlibc/receipt @ rev 20983

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 28 13:48:52 2018 +0300 (2018-09-28)
parents 92f66e45cea7
children d5aab818505e
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@19636 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 }