wok view musl-libc/receipt @ rev 13692

syslinux: iso2exe (tiny edits)
author Paul Issott <paul@slitaz.org>
date Thu Dec 13 18:22:00 2012 +0000 (2012-12-13)
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 }