wok-6.x view musl-libc/receipt @ rev 14226
liberation-fonts-base: fix url. Recook: freetype - package cooked but something wrong, freetype-dev fails; same with freetype-infinality(-dev). Add optional (?) website to fontconfig-infinality-yad.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 21 19:21:00 2013 +0000 (2013-03-21) |
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 }