wok view dietlibc/receipt @ rev 21158
Up libboost-signals (1.69.0) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 30 18:17:37 2019 +0100 (2019-03-30) |
parents | d5e5440513b7 |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dietlibc"
4 VERSION="0.34"
5 CATEGORY="development"
6 SHORT_DESC="A libc optimized for small size."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.fefe.de/dietlibc/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's|uname -m|echo i486|' libpthread/Makefile Makefile
18 sed -i 's|.*/nice.S.*|// &|' i386/dyn_syscalls.S
20 make prefix=/usr/lib/diet &&
21 #make dyn prefix=/usr/lib/diet &&
22 make prefix=/usr/lib/diet DESTDIR=$DESTDIR install 2> /dev/null
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/include
29 cp -a $install/* $fs
30 cp -a $install/usr/lib/diet/man $install/usr
31 ln -s ../lib/diet/include $fs/usr/include/diet
32 ln -s /usr/lib/diet/bin/diet $fs/usr/bin
33 ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin
34 ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin
35 }