wok annotate musl-libc/receipt @ rev 23735
updated wireless-regdb (2019.06.03 -> 2020.04.29)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 09:55:09 2020 +0100 (2020-05-01) |
parents | 8b98a5e6599b |
children | 453c249b6219 |
rev | line source |
---|---|
pascal@13283 | 1 # SliTaz package receipt. |
pascal@13283 | 2 |
pascal@13283 | 3 PACKAGE="musl-libc" |
Hans-G?nter@23205 | 4 VERSION="1.2.0" |
pascal@13283 | 5 CATEGORY="development" |
pascal@13283 | 6 SHORT_DESC="A lightweight, fast, simple, free libc." |
pascal@13283 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14743 | 8 LICENSE="MIT" |
Hans-G?nter@21500 | 9 WEB_SITE="https://www.musl-libc.org/" |
Hans-G?nter@21500 | 10 |
Hans-G?nter@23205 | 11 SOURCE="musl" |
pascal@13283 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@13283 | 13 WGET_URL="${WEB_SITE}releases/$TARBALL" |
pascal@13283 | 14 |
pascal@13283 | 15 DEPENDS="" |
pascal@13283 | 16 BUILD_DEPENDS="" |
pascal@13283 | 17 |
Hans-G?nter@21500 | 18 TARGET="i386" |
Hans-G?nter@21500 | 19 |
pascal@13283 | 20 # Rules to configure and make the package. |
pascal@13283 | 21 compile_rules() |
pascal@13283 | 22 { |
Hans-G?nter@21500 | 23 ./configure \ |
Hans-G?nter@21500 | 24 --prefix=/usr/share/musl \ |
Hans-G?nter@21500 | 25 --exec-prefix=/usr/share/musl \ |
Hans-G?nter@21500 | 26 --target=$TARGET \ |
Hans-G?nter@21500 | 27 $CONFIGURE_ARGS |
pascal@13283 | 28 make && |
al@20480 | 29 make DESTDIR=$DESTDIR install |
pascal@13283 | 30 } |
pascal@13283 | 31 |
pascal@13283 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13283 | 33 genpkg_rules() |
pascal@13283 | 34 { |
Hans-G?nter@21500 | 35 mkdir -p $fs/usr/share/musl/lib |
Hans-G?nter@21500 | 36 mkdir -p $fs/etc $fs/bin |
Hans-G?nter@21500 | 37 |
Hans-G?nter@21500 | 38 cp -a $install/lib $fs |
Hans-G?nter@21500 | 39 ln -s /usr/share/musl/lib/libc.so $fs/bin/ldd-musl |
pascal@13283 | 40 cp -a $install/usr/share/musl/lib/*.so $fs/usr/share/musl/lib |
Hans-G?nter@23205 | 41 echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path |
pascal@13283 | 42 } |