wok-current view musl-libc/receipt @ rev 21500

updated musl-libc and musl-libc-dev (1.1.20 -> 1.1.22)
author Hans-G?nter Theisgen
date Thu May 02 15:32:44 2019 +0100 (2019-05-02)
parents 49767a858e2c
children 8b98a5e6599b
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc"
4 SOURCE="musl"
5 VERSION="1.1.22"
6 CATEGORY="development"
7 SHORT_DESC="A lightweight, fast, simple, free libc."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.musl-libc.org/"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}releases/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS=""
18 TARGET="i386"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr/share/musl \
25 --exec-prefix=/usr/share/musl \
26 --target=$TARGET \
27 $CONFIGURE_ARGS
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/musl/lib
36 mkdir -p $fs/etc $fs/bin
38 cp -a $install/lib $fs
39 ln -s /usr/share/musl/lib/libc.so $fs/bin/ldd-musl
40 cp -a $install/usr/share/musl/lib/*.so $fs/usr/share/musl/lib
41 echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
42 }