wok-6.x view musl-libc-dev/receipt @ rev 14743
musl-libc-dev: add linux include links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 14 11:27:43 2013 +0200 (2013-06-14) |
parents | d6f7e8536a4f |
children | cd28fb2eacaa |
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc-dev"
4 VERSION="0.9.10"
5 CATEGORY="development"
6 SHORT_DESC="A lightweight, fast, simple, free libc. Development files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.etalabs.net/musl/"
10 WANTED="musl-libc"
12 DEPENDS="musl-libc"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin $fs/usr/share/musl/lib $fs/etc
18 cp -a $install/usr/share/musl/include $fs/usr/share/musl
19 cp -a $install/usr/share/musl/lib/*.a $fs/usr/share/musl/lib
20 cp -a $install/usr/share/musl/lib/*.o $fs/usr/share/musl/lib
21 cp -a $install/usr/share/musl/lib/*.specs $fs/usr/share/musl/lib
22 cp -a $install/usr/share/musl/bin $fs/usr/share/musl
23 ln -s /usr/share/musl/bin/musl-gcc $fs/usr/bin
24 for i in linux asm asm-generic ; do
25 ln -s /usr/include/$i $fs/usr/share/musl/include/$i
26 done
27 }