libplist: cross build support.

This commit is contained in:
Juan RP 2014-01-23 17:12:32 +01:00
parent 909df43b0f
commit ec6acaa14a

View file

@ -1,11 +1,11 @@
# Template file for 'libplist'
pkgname=libplist
version=1.8
revision=3
revision=4
build_style=cmake
configure_args="-DCMAKE_SKIP_RPATH=ON"
hostmakedepends="cmake swig python-devel Cython"
makedepends="libglib-devel libxml2-devel"
makedepends="python-devel libglib-devel libxml2-devel"
short_desc="Apple Property List library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
@ -18,7 +18,7 @@ disable_parallel_build=yes
libplist++_package() {
short_desc+=" -- C++ runtime library"
pkg_install() {
vmove "usr/lib/libplist++.*"
vmove "usr/lib/libplist++.so.*"
}
}
@ -30,10 +30,11 @@ libplist-python_package() {
}
libplist-devel_package() {
depends="libplist++>=${version} libplist>=${version}"
depends="libplist++>=${version}_${revision} libplist>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}