wok annotate musl-libc-dev/receipt @ rev 15673
linux64: fix module list
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 18 19:09:22 2013 +0000 (2013-12-18) |
parents | cd28fb2eacaa |
children | 5501796f0432 |
rev | line source |
---|---|
pascal@13283 | 1 # SliTaz package receipt. |
pascal@13283 | 2 |
pascal@13283 | 3 PACKAGE="musl-libc-dev" |
pascal@15391 | 4 VERSION="0.9.14" |
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@14743 | 8 LICENSE="MIT" |
pascal@15391 | 9 WEB_SITE="http://www.musl-libc.org/" |
pascal@13283 | 10 WANTED="musl-libc" |
pascal@13283 | 11 |
pascal@13283 | 12 DEPENDS="musl-libc" |
pascal@13283 | 13 |
pascal@13283 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13283 | 15 genpkg_rules() |
pascal@13283 | 16 { |
pascal@13283 | 17 mkdir -p $fs/usr/bin $fs/usr/share/musl/lib $fs/etc |
pascal@13283 | 18 cp -a $install/usr/share/musl/include $fs/usr/share/musl |
pascal@13283 | 19 cp -a $install/usr/share/musl/lib/*.a $fs/usr/share/musl/lib |
pascal@13283 | 20 cp -a $install/usr/share/musl/lib/*.o $fs/usr/share/musl/lib |
pascal@13283 | 21 cp -a $install/usr/share/musl/lib/*.specs $fs/usr/share/musl/lib |
pascal@13283 | 22 cp -a $install/usr/share/musl/bin $fs/usr/share/musl |
pascal@13283 | 23 ln -s /usr/share/musl/bin/musl-gcc $fs/usr/bin |
pascal@14743 | 24 for i in linux asm asm-generic ; do |
pascal@14743 | 25 ln -s /usr/include/$i $fs/usr/share/musl/include/$i |
pascal@14743 | 26 done |
pascal@13283 | 27 } |