wok-current view musl-libc-dev/receipt @ rev 23806

linld: add isoboot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:16:52 2020 +0000 (2020-05-24)
parents 8b98a5e6599b
children f77a9c3daaae
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc-dev"
4 VERSION="1.2.0"
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="https://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
29 do
30 ln -s /usr/include/$i $fs/usr/share/musl/include/$i
31 done
32 }