wok-current annotate musl-libc-dev/receipt @ 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
children d6f7e8536a4f
rev   line source
pascal@13283 1 # SliTaz package receipt.
pascal@13283 2
pascal@13283 3 PACKAGE="musl-libc-dev"
pascal@13283 4 VERSION="0.9.4"
pascal@13283 5 CATEGORY="development"
pascal@13283 6 SHORT_DESC="A lightweight, fast, simple, free libc. Development files."
pascal@13283 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13283 8 WEB_SITE="http://www.etalabs.net/musl/"
pascal@13283 9 WANTED="musl-libc"
pascal@13283 10
pascal@13283 11 DEPENDS="musl-libc"
pascal@13283 12
pascal@13283 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13283 14 genpkg_rules()
pascal@13283 15 {
pascal@13283 16 mkdir -p $fs/usr/bin $fs/usr/share/musl/lib $fs/etc
pascal@13283 17 cp -a $install/usr/share/musl/include $fs/usr/share/musl
pascal@13283 18 cp -a $install/usr/share/musl/lib/*.a $fs/usr/share/musl/lib
pascal@13283 19 cp -a $install/usr/share/musl/lib/*.o $fs/usr/share/musl/lib
pascal@13283 20 cp -a $install/usr/share/musl/lib/*.specs $fs/usr/share/musl/lib
pascal@13283 21 cp -a $install/usr/share/musl/bin $fs/usr/share/musl
pascal@13283 22 ln -s /usr/share/musl/bin/musl-gcc $fs/usr/bin
pascal@13283 23 }