wok-6.x annotate 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
rev   line source
pascal@13283 1 # SliTaz package receipt.
pascal@13283 2
pascal@13283 3 PACKAGE="musl-libc-dev"
Hans-G?nter@21500 4 VERSION="1.1.22"
pascal@13283 5 CATEGORY="development"
Hans-G?nter@21500 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
pascal@13283 11 DEPENDS="musl-libc"
Hans-G?nter@21500 12 WANTED="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 {
Hans-G?nter@21500 17 mkdir -p $fs/usr/bin
Hans-G?nter@21500 18 mkdir -p $fs/usr/share/musl/lib
Hans-G?nter@21500 19 mkdir -p $fs/etc
Hans-G?nter@21500 20
Hans-G?nter@21500 21 cp -a $install/usr/share/musl/include $fs/usr/share/musl
Hans-G?nter@21500 22 cp -a $install/usr/share/musl/lib/*.a $fs/usr/share/musl/lib
Hans-G?nter@21500 23 cp -a $install/usr/share/musl/lib/*.o $fs/usr/share/musl/lib
Hans-G?nter@21500 24 cp -a $install/usr/share/musl/lib/*.specs $fs/usr/share/musl/lib
Hans-G?nter@21500 25 cp -a $install/usr/share/musl/bin $fs/usr/share/musl
Hans-G?nter@21500 26 ln -s /usr/share/musl/bin/musl-gcc $fs/usr/bin
Hans-G?nter@21500 27
pascal@14743 28 for i in linux asm asm-generic ; do
pascal@14743 29 ln -s /usr/include/$i $fs/usr/share/musl/include/$i
pascal@14743 30 done
pascal@13283 31 }