wok diff libffi-dev/receipt @ rev 4645

linux-source: add missing files.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 26 11:02:36 2009 +0100 (2009-12-26)
parents
children 5325e8430795
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libffi-dev/receipt	Sat Dec 26 11:02:36 2009 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libffi-dev"
     1.7 +VERSION="3.0.8"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="libffi devel files."
    1.10 +WEB_SITE="http://sourceware.org/libffi/"
    1.11 +MAINTAINER="rcx@zoominternet.net"
    1.12 +WANTED="libffi"
    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
    1.18 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/lib/$WANTED-$VERSION $fs/usr/lib
    1.21 +	
    1.22 +	# Copy the headers to the standard location
    1.23 +	mkdir -p $fs/usr/include/$WANTED-$VERSION
    1.24 +	cp -a $_pkg/usr/lib/$WANTED-$VERSION/include/* $fs/usr/include/$WANTED-$VERSION
    1.25 +}