wok-current annotate dietlibc/receipt @ rev 20829
dietlibc: bz2 replaced by xz
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 19 17:20:08 2019 +0100 (2019-02-19) |
parents | d5e5440513b7 |
children | 453c249b6219 |
rev | line source |
---|---|
pascal@11220 | 1 # SliTaz package receipt. |
pascal@11220 | 2 |
pascal@11220 | 3 PACKAGE="dietlibc" |
Hans-G?nter@20828 | 4 VERSION="0.34" |
pascal@11220 | 5 CATEGORY="development" |
Hans-G?nter@20828 | 6 SHORT_DESC="A libc optimized for small size." |
pascal@11220 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14747 | 8 LICENSE="GPL2" |
Hans-G?nter@20828 | 9 WEB_SITE="https://www.fefe.de/dietlibc/" |
Hans-G?nter@20828 | 10 |
Hans-G?nter@20829 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20652 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@11220 | 13 |
pascal@11220 | 14 # Rules to configure and make the package. |
pascal@11220 | 15 compile_rules() |
pascal@11220 | 16 { |
pascal@20212 | 17 sed -i 's|uname -m|echo i486|' libpthread/Makefile Makefile |
pascal@14365 | 18 sed -i 's|.*/nice.S.*|// &|' i386/dyn_syscalls.S |
Hans-G?nter@20828 | 19 |
pascal@14365 | 20 make prefix=/usr/lib/diet && |
pascal@14365 | 21 #make dyn prefix=/usr/lib/diet && |
pascal@14365 | 22 make prefix=/usr/lib/diet DESTDIR=$DESTDIR install 2> /dev/null |
pascal@11220 | 23 } |
pascal@11220 | 24 |
pascal@11220 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 26 genpkg_rules() |
pascal@11220 | 27 { |
pascal@14747 | 28 mkdir -p $fs/usr/bin $fs/usr/include |
pascal@14365 | 29 cp -a $install/* $fs |
pascal@19678 | 30 cp -a $install/usr/lib/diet/man $install/usr |
pascal@14747 | 31 ln -s ../lib/diet/include $fs/usr/include/diet |
pascal@14747 | 32 ln -s /usr/lib/diet/bin/diet $fs/usr/bin |
pascal@14747 | 33 ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin |
pascal@14747 | 34 ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin |
pascal@11220 | 35 } |