wok-4.x annotate libffi-dev/receipt @ rev 11303
Up: kismet (2011-08-R1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Nov 12 22:29:28 2011 +0000 (2011-11-12) |
parents | b2721d48928e |
children |
rev | line source |
---|---|
rcx@3261 | 1 # SliTaz package receipt. |
rcx@3261 | 2 |
rcx@3261 | 3 PACKAGE="libffi-dev" |
slaxemulator@10984 | 4 VERSION="3.0.10" |
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 } |