wok-current view musl-libc/receipt @ rev 23456
updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 03 13:56:35 2020 +0100 (2020-04-03) |
parents | 8b98a5e6599b |
children | 453c249b6219 |
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc"
4 VERSION="1.2.0"
5 CATEGORY="development"
6 SHORT_DESC="A lightweight, fast, simple, free libc."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.musl-libc.org/"
11 SOURCE="musl"
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 }