wok-next view musl-libc/receipt @ rev 15360
python-numpy: hide conftest.c errors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 01 17:16:06 2013 +0000 (2013-10-01) |
parents | e8f790529aae |
children | ce87c8a3d34a |
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc"
4 SOURCE="musl"
5 VERSION="0.9.11"
6 CATEGORY="development"
7 SHORT_DESC="A lightweight, fast, simple, free libc."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.etalabs.net/musl/"
12 WGET_URL="${WEB_SITE}releases/$TARBALL"
13 TARGET="i386"
15 DEPENDS=""
16 BUILD_DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr/share/musl --exec-prefix=/usr/share/musl \
23 --target=$TARGET $CONFIGURE_ARGS
24 make &&
25 make $DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/musl/lib $fs/etc $fs/bin
32 cp -a $install/lib $fs
33 cp -a $fs/lib/* $fs/bin/ldd-musl
34 cp -a $install/usr/share/musl/lib/*.so $fs/usr/share/musl/lib
35 echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
36 }