wok view musl-libc/receipt @ rev 14066
Add gpick; lua-dev: fix pc file
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 20 15:07:19 2013 +0000 (2013-02-20) |
parents | 617654d473af |
children | d6f7e8536a4f |
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc"
4 SOURCE="musl"
5 VERSION="0.9.4"
6 CATEGORY="development"
7 SHORT_DESC="A lightweight, fast, simple, free libc."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.etalabs.net/musl/"
11 WGET_URL="${WEB_SITE}releases/$TARBALL"
12 TARGET="i386"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr/share/musl --exec-prefix=/usr/share/musl \
22 --target=$TARGET $CONFIGURE_ARGS
23 make &&
24 make $DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/musl/lib $fs/etc
31 cp -a $install/lib $fs
32 cp -a $install/usr/share/musl/lib/*.so $fs/usr/share/musl/lib
33 echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
34 }