wok-current annotate libffi-dev/receipt @ rev 4503

slitaz-loram*: extract by default
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 22 12:40:18 2009 +0100 (2009-11-22)
parents
children 5325e8430795
rev   line source
rcx@3261 1 # SliTaz package receipt.
rcx@3261 2
rcx@3261 3 PACKAGE="libffi-dev"
rcx@3261 4 VERSION="3.0.8"
rcx@3261 5 CATEGORY="development"
rcx@3261 6 SHORT_DESC="libffi devel files."
rcx@3261 7 WEB_SITE="http://sourceware.org/libffi/"
rcx@3261 8 MAINTAINER="rcx@zoominternet.net"
rcx@3261 9 WANTED="libffi"
rcx@3261 10
rcx@3261 11 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3261 12 genpkg_rules()
rcx@3261 13 {
rcx@3261 14 mkdir -p $fs/usr/lib
rcx@3261 15 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
rcx@3261 16 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
rcx@3261 17 cp -a $_pkg/usr/lib/$WANTED-$VERSION $fs/usr/lib
rcx@3261 18
rcx@3261 19 # Copy the headers to the standard location
rcx@3261 20 mkdir -p $fs/usr/include/$WANTED-$VERSION
rcx@3261 21 cp -a $_pkg/usr/lib/$WANTED-$VERSION/include/* $fs/usr/include/$WANTED-$VERSION
rcx@3261 22 }