wok-6.x annotate musl-libc/receipt @ rev 16103
ARM: add dwm, dmenu, mpc, nmpc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 18 22:35:00 2014 +0100 (2014-03-18) |
parents | ce87c8a3d34a |
children | 79ec85521a08 |
rev | line source |
---|---|
pascal@13283 | 1 # SliTaz package receipt. |
pascal@13283 | 2 |
pascal@13283 | 3 PACKAGE="musl-libc" |
pascal@13283 | 4 SOURCE="musl" |
pascal@15892 | 5 VERSION="0.9.15" |
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 cd $src |
pascal@13283 | 22 ./configure --prefix=/usr/share/musl --exec-prefix=/usr/share/musl \ |
pascal@13284 | 23 --target=$TARGET $CONFIGURE_ARGS |
pascal@13283 | 24 make && |
pascal@13283 | 25 make $DESTDIR=$DESTDIR install |
pascal@13283 | 26 } |
pascal@13283 | 27 |
pascal@13283 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13283 | 29 genpkg_rules() |
pascal@13283 | 30 { |
pascal@14870 | 31 mkdir -p $fs/usr/share/musl/lib $fs/etc $fs/bin |
pascal@13283 | 32 cp -a $install/lib $fs |
pascal@14871 | 33 cp -a $fs/lib/* $fs/bin/ldd-musl |
pascal@13283 | 34 cp -a $install/usr/share/musl/lib/*.so $fs/usr/share/musl/lib |
pascal@13284 | 35 echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$TARGET.path |
pascal@13283 | 36 } |