wok-stable view libffi-dev/receipt @ rev 10772

Trying to make a tazdev-like receip with source from slitaz-dev-tools, in order to get yaff cooked properly
author Babaorum
date Tue May 31 21:49:58 2011 +0100 (2011-05-31)
parents 5325e8430795
children 44e73ecc5e31
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi-dev"
4 VERSION="3.0.9"
5 CATEGORY="development"
6 SHORT_DESC="libffi devel files."
7 WEB_SITE="http://sourceware.org/libffi/"
8 MAINTAINER="rcx@zoominternet.net"
9 DEPENDS="libffi"
10 WANTED="libffi"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib
16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
18 cp -a $_pkg/usr/lib/$WANTED-$VERSION $fs/usr/lib
20 # Copy the headers to the standard location
21 mkdir -p $fs/usr/include/$WANTED-$VERSION
22 cp -a $_pkg/usr/lib/$WANTED-$VERSION/include/* $fs/usr/include/$WANTED-$VERSION
23 }