2012-02-22 09:30:17 +00:00
|
|
|
# Template file for 'libplist'
|
|
|
|
pkgname=libplist
|
2013-01-03 11:55:06 +00:00
|
|
|
version=1.8
|
2014-04-04 12:24:47 +00:00
|
|
|
revision=5
|
2012-02-22 09:30:17 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DCMAKE_SKIP_RPATH=ON"
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends="cmake swig python-devel Cython"
|
2014-01-23 16:12:32 +00:00
|
|
|
makedepends="python-devel libglib-devel libxml2-devel"
|
2012-02-22 09:30:17 +00:00
|
|
|
short_desc="Apple Property List library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-01-03 11:48:07 +00:00
|
|
|
homepage="http://libimobiledevice.org/"
|
2013-01-03 11:55:06 +00:00
|
|
|
distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum=a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec
|
2013-01-03 12:11:22 +00:00
|
|
|
|
|
|
|
disable_parallel_build=yes
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libplist++_package() {
|
|
|
|
short_desc+=" -- C++ runtime library"
|
|
|
|
pkg_install() {
|
2014-01-23 16:12:32 +00:00
|
|
|
vmove "usr/lib/libplist++.so.*"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libplist-python_package() {
|
2014-04-04 12:24:47 +00:00
|
|
|
lib32disabled=yes
|
2013-04-13 08:15:49 +00:00
|
|
|
short_desc+=" -- Python bindings"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python2.7
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libplist-devel_package() {
|
2014-01-23 16:12:32 +00:00
|
|
|
depends="libplist++>=${version}_${revision} libplist>=${version}_${revision}"
|
2013-04-13 08:15:49 +00:00
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-23 16:12:32 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|