wok-6.x view musl-libc-dev/receipt @ rev 21533

backported Bobylev's receipt for consolekit2 from next to cooking
author Hans-G?nter Theisgen
date Sun May 05 11:02:08 2019 +0100 (2019-05-05)
parents 49767a858e2c
children 8b98a5e6599b
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc-dev"
4 VERSION="1.1.22"
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.musl-libc.org/"
11 DEPENDS="musl-libc"
12 WANTED="musl-libc"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin
18 mkdir -p $fs/usr/share/musl/lib
19 mkdir -p $fs/etc
21 cp -a $install/usr/share/musl/include $fs/usr/share/musl
22 cp -a $install/usr/share/musl/lib/*.a $fs/usr/share/musl/lib
23 cp -a $install/usr/share/musl/lib/*.o $fs/usr/share/musl/lib
24 cp -a $install/usr/share/musl/lib/*.specs $fs/usr/share/musl/lib
25 cp -a $install/usr/share/musl/bin $fs/usr/share/musl
26 ln -s /usr/share/musl/bin/musl-gcc $fs/usr/bin
28 for i in linux asm asm-generic ; do
29 ln -s /usr/include/$i $fs/usr/share/musl/include/$i
30 done
31 }