wok-6.x view musl-libc/receipt @ rev 22689
updated emacs (24.3 -> 26.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 20 16:49:20 2020 +0100 (2020-01-20) |
parents | e509d54c1ccc |
children | 4b75628b23a6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc"
4 SOURCE="musl"
5 VERSION="1.1.24"
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 }