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