wok-6.x rev 13283
Add musl-libc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 24 17:34:07 2012 +0200 (2012-08-24) |
parents | d71a0e854cc0 |
children | 9beb316a5167 |
files | musl-libc-dev/receipt musl-libc/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/musl-libc-dev/receipt Fri Aug 24 17:34:07 2012 +0200 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="musl-libc-dev" 1.7 +VERSION="0.9.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A lightweight, fast, simple, free libc. Development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.etalabs.net/musl/" 1.12 +WANTED="musl-libc" 1.13 + 1.14 +DEPENDS="musl-libc" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/bin $fs/usr/share/musl/lib $fs/etc 1.20 + cp -a $install/usr/share/musl/include $fs/usr/share/musl 1.21 + cp -a $install/usr/share/musl/lib/*.a $fs/usr/share/musl/lib 1.22 + cp -a $install/usr/share/musl/lib/*.o $fs/usr/share/musl/lib 1.23 + cp -a $install/usr/share/musl/lib/*.specs $fs/usr/share/musl/lib 1.24 + cp -a $install/usr/share/musl/bin $fs/usr/share/musl 1.25 + ln -s /usr/share/musl/bin/musl-gcc $fs/usr/bin 1.26 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/musl-libc/receipt Fri Aug 24 17:34:07 2012 +0200 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="musl-libc" 2.7 +SOURCE="musl" 2.8 +VERSION="0.9.4" 2.9 +CATEGORY="development" 2.10 +SHORT_DESC="A lightweight, fast, simple, free libc." 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.etalabs.net/musl/" 2.14 +WGET_URL="${WEB_SITE}releases/$TARBALL" 2.15 +ARCH="i386" 2.16 + 2.17 +DEPENDS="" 2.18 +BUILD_DEPENDS="" 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + cd $src 2.24 + ./configure --prefix=/usr/share/musl --exec-prefix=/usr/share/musl \ 2.25 + --target=$ARCH $CONFIGURE_ARGS 2.26 + make && 2.27 + make $DESTDIR=$DESTDIR install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + mkdir -p $fs/usr/share/musl/lib $fs/etc 2.34 + cp -a $install/lib $fs 2.35 + cp -a $install/usr/share/musl/lib/*.so $fs/usr/share/musl/lib 2.36 + echo "/usr/share/musl/lib" > $fs/etc/ld-musl-$ARCH.path 2.37 +}