wok diff dietlibc-dev/receipt @ rev 11633

Up shaarli (0.0.37beta)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 02 00:06:39 2012 +0100 (2012-02-02)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dietlibc-dev/receipt	Thu Feb 02 00:06:39 2012 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dietlibc-dev"
     1.7 +VERSION="0.32"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A libc optimized for small size."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.fefe.de/dietlibc/"
    1.12 +WANTED="dietlibc"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib/diet/ $fs/usr/bin $fs/usr/include
    1.18 +	cp -a $src/include $fs/usr/lib/diet
    1.19 +	ln -s ../lib/diet/include $fs/usr/include/diet
    1.20 +	cp -a $_pkg/usr/lib/diet/lib-i386 $fs/usr/lib/diet
    1.21 +	rm -rf $fs/usr/lib/diet/lib-i386/*.so
    1.22 +	cp -a $_pkg/usr/lib/diet/bin $fs/usr/lib/diet
    1.23 +	ln -s /usr/lib/diet/bin/diet $fs/usr/bin
    1.24 +	ln -s /usr/lib/diet/bin/diet-dyn $fs/usr/bin
    1.25 +	ln -s /usr/lib/diet/bin/elftrunc $fs/usr/bin
    1.26 +}