wok-6.x view libffi-dev/receipt @ rev 9072

wqy-microhei, wqy-bitmapfont: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 15:45:23 2011 +0100 (2011-03-04)
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 }