wok view musl-libc/receipt @ rev 14529

Add avfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 18 13:45:09 2013 +0200 (2013-05-18)
parents 9beb316a5167
children 38fada8758a2
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc"
4 SOURCE="musl"
5 VERSION="0.9.10"
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 }