wok annotate libffi-dev/receipt @ rev 6716
Change linux receipt to only rgenpkg WANTED=linux package. This is so linux-api-headers is not repackage again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 14 12:38:06 2010 +0000 (2010-10-14) |
parents | 5325e8430795 |
children | 44e73ecc5e31 |
rev | line source |
---|---|
rcx@3261 | 1 # SliTaz package receipt. |
rcx@3261 | 2 |
rcx@3261 | 3 PACKAGE="libffi-dev" |
paul@4749 | 4 VERSION="3.0.9" |
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" |
slaxemulator@6666 | 9 DEPENDS="libffi" |
rcx@3261 | 10 WANTED="libffi" |
rcx@3261 | 11 |
rcx@3261 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3261 | 13 genpkg_rules() |
rcx@3261 | 14 { |
rcx@3261 | 15 mkdir -p $fs/usr/lib |
rcx@3261 | 16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
rcx@3261 | 17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
rcx@3261 | 18 cp -a $_pkg/usr/lib/$WANTED-$VERSION $fs/usr/lib |
rcx@3261 | 19 |
rcx@3261 | 20 # Copy the headers to the standard location |
rcx@3261 | 21 mkdir -p $fs/usr/include/$WANTED-$VERSION |
rcx@3261 | 22 cp -a $_pkg/usr/lib/$WANTED-$VERSION/include/* $fs/usr/include/$WANTED-$VERSION |
rcx@3261 | 23 } |