46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
# Template file for 'libplist'
|
|
pkgname=libplist
|
|
version=1.8
|
|
revision=3
|
|
build_style=cmake
|
|
configure_args="-DCMAKE_SKIP_RPATH=ON"
|
|
hostmakedepends="cmake swig python-devel Cython"
|
|
makedepends="libglib-devel libxml2-devel"
|
|
short_desc="Apple Property List library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2, LGPL-2.1"
|
|
homepage="http://libimobiledevice.org/"
|
|
distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2"
|
|
checksum=a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec
|
|
|
|
disable_parallel_build=yes
|
|
|
|
libplist++_package() {
|
|
short_desc+=" -- C++ runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libplist++.*"
|
|
}
|
|
}
|
|
|
|
libplist-python_package() {
|
|
short_desc+=" -- Python bindings"
|
|
pkg_install() {
|
|
vmove usr/lib/python2.7
|
|
}
|
|
}
|
|
|
|
libplist-devel_package() {
|
|
depends="libplist++>=${version} libplist>=${version}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libplist_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|