wok annotate libffi-dev/receipt @ rev 4749
Up: libffi (3.0.9)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jan 09 18:07:13 2010 +0000 (2010-01-09) |
parents | 73d44cf30650 |
children | b2721d48928e |
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" |
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 } |