wok-next annotate libxml2-dev/receipt @ rev 12817
libxml2: cross compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 21 01:58:24 2012 +0200 (2012-05-21) |
parents | 0ec61552352b |
children | 78f92a2255c1 |
rev | line source |
---|---|
pankso@24 | 1 # SliTaz package receipt. |
pankso@24 | 2 |
pankso@24 | 3 PACKAGE="libxml2-dev" |
slaxemulator@7345 | 4 VERSION="2.7.8" |
pankso@199 | 5 CATEGORY="development" |
pankso@24 | 6 SHORT_DESC="XML C parser and toolkit devel files." |
pankso@24 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@24 | 8 WANTED="libxml2" |
pankso@4828 | 9 DEPENDS="libxml2-tools" |
pankso@24 | 10 WEB_SITE="http://xmlsoft.org/" |
pankso@12817 | 11 HOST_ARCH="i486 arm" |
pankso@24 | 12 |
pankso@24 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@24 | 14 genpkg_rules() |
pankso@24 | 15 { |
pankso@670 | 16 mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share |
pankso@4361 | 17 |
pankso@12817 | 18 cp -a $install/usr/bin/xml2-config $fs/usr/bin |
pankso@12817 | 19 cp -a $install/usr/lib/*.sh $fs/usr/bin |
pankso@670 | 20 chmod +x $fs/usr/bin/*.sh |
pankso@4361 | 21 |
pankso@12817 | 22 cp -a $install/usr/lib/*.*a $fs/usr/lib |
pankso@12817 | 23 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pankso@12817 | 24 cp -a $install/usr/include $fs/usr |
pankso@12817 | 25 cp -a $install/usr/share/aclocal $fs/usr/share |
pankso@24 | 26 } |