wok view musl-libc-dev/receipt @ rev 25547
Up utftpd (0.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 23 12:22:34 2023 +0000 (19 months ago) |
parents | f77a9c3daaae |
children | 3c71bb4367c3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="musl-libc-dev"
4 VERSION="1.2.3"
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/etc
18 mkdir -p $fs/usr/bin
19 mkdir -p $fs/usr/share/musl/lib
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 }