wok-next annotate musl-libc/receipt @ rev 19135

vlc: add locale (thanks sonycrokett2000), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 17 16:17:15 2016 +0200 (2016-05-17)
parents 7958590af6d8
children 38cf0c75fa4c
rev   line source
pascal@13283 1 # SliTaz package receipt.
pascal@13283 2
pascal@13283 3 PACKAGE="musl-libc"
pascal@13283 4 SOURCE="musl"
pascal@18940 5 VERSION="1.1.14"
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"
pascal@13283 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@15391 11 WEB_SITE="http://www.musl-libc.org/"
pascal@13283 12 WGET_URL="${WEB_SITE}releases/$TARBALL"
pascal@13284 13 TARGET="i386"
pascal@13283 14
pascal@13283 15 DEPENDS=""
pascal@13283 16 BUILD_DEPENDS=""
pascal@13283 17
pascal@13283 18 # Rules to configure and make the package.
pascal@13283 19 compile_rules()
pascal@13283 20 {
pascal@13283 21 ./configure --prefix=/usr/share/musl --exec-prefix=/usr/share/musl \
pascal@13284 22 --target=$TARGET $CONFIGURE_ARGS
pascal@13283 23 make &&
pascal@13283 24 make $DESTDIR=$DESTDIR install
pascal@13283 25 }
pascal@13283 26
pascal@13283 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13283 28 genpkg_rules()
pascal@13283 29 {
pascal@14870 30 mkdir -p $fs/usr/share/musl/lib $fs/etc $fs/bin
pascal@13283 31 cp -a $install/lib $fs
pascal@14871 32 cp -a $fs/lib/* $fs/bin/ldd-musl
pascal@13283 33 cp -a $install/usr/share/musl/lib/*.so $fs/usr/share/musl/lib
pascal@13284 34 echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path
pascal@13283 35 }