wok-current annotate libffi-dev/receipt @ rev 21413
conntrack-tools, flashrom: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 23 18:26:21 2019 +0200 (2019-04-23) |
parents | 51b3e2d10e16 |
children | a4e0ca27c317 |
rev | line source |
---|---|
rcx@3261 | 1 # SliTaz package receipt. |
rcx@3261 | 2 |
rcx@3261 | 3 PACKAGE="libffi-dev" |
Hans-G?nter@21223 | 4 VERSION="3.2.1" |
rcx@3261 | 5 CATEGORY="development" |
Hans-G?nter@21223 | 6 SHORT_DESC="libffi, development files." |
rcx@3261 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15473 | 8 LICENSE="MIT" |
Hans-G?nter@21223 | 9 WEB_SITE="https://sourceware.org/libffi/" |
Hans-G?nter@21223 | 10 |
pankso@12825 | 11 WANTED="libffi" |
Hans-G?nter@21223 | 12 DEPENDS="libffi pkg-config" |
Hans-G?nter@21223 | 13 |
pankso@12825 | 14 HOST_ARCH="i486 arm" |
pankso@12825 | 15 |
rcx@3261 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3261 | 17 genpkg_rules() |
rcx@3261 | 18 { |
Hans-G?nter@21223 | 19 mkdir -p $fs/usr/lib |
Hans-G?nter@21223 | 20 mkdir -p $fs/usr/include |
Hans-G?nter@21223 | 21 |
Hans-G?nter@21223 | 22 cp -a $install/usr/lib/*.*a $fs/usr/lib |
Hans-G?nter@21223 | 23 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
Hans-G?nter@21223 | 24 cp -a $install/usr/lib/$WANTED-$VERSION $fs/usr/lib |
pankso@12825 | 25 |
rcx@3261 | 26 # Copy the headers to the standard location |
pankso@12825 | 27 cp -a $install/usr/lib/$WANTED-$VERSION/include/* \ |
pankso@12914 | 28 $fs/usr/include |
rcx@3261 | 29 } |