wok annotate musl-libc/receipt @ rev 22298

updated xorg-xrandr (1.3.5 -> 1.5.1)
author Hans-G?nter Theisgen
date Wed Nov 13 16:51:29 2019 +0100 (2019-11-13)
parents 49767a858e2c
children 8b98a5e6599b
rev   line source
pascal@13283 1 # SliTaz package receipt.
pascal@13283 2
pascal@13283 3 PACKAGE="musl-libc"
pascal@13283 4 SOURCE="musl"
Hans-G?nter@21500 5 VERSION="1.1.22"
pascal@13283 6 CATEGORY="development"
pascal@13283 7 SHORT_DESC="A lightweight, fast, simple, free libc."
pascal@13283 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14743 9 LICENSE="MIT"
Hans-G?nter@21500 10 WEB_SITE="https://www.musl-libc.org/"
Hans-G?nter@21500 11
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
pascal@13284 41 echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
pascal@13283 42 }