wok-6.x view musl-libc/receipt @ rev 20852

updated drakon-editor (1.26 -> 1.29)
author Hans-G?nter Theisgen
date Thu Feb 21 15:43:28 2019 +0100 (2019-02-21)
parents 575a66a35018
children e509d54c1ccc
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc"
4 SOURCE="musl"
5 VERSION="1.1.20"
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.musl-libc.org/"
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 ./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 $fs/bin
31 cp -a $install/lib $fs
32 ln -s /usr/share/musl/lib/libc.so $fs/bin/ldd-musl
33 cp -a $install/usr/share/musl/lib/*.so $fs/usr/share/musl/lib
34 echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
35 }