33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'opencollada'
|
|
pkgname=opencollada
|
|
version=0.0.20160223
|
|
revision=1
|
|
_gitrev=05bdf47679a29195a54ddaa1158b0d65a28421a9
|
|
wrksrc="OpenCOLLADA-${_gitrev}"
|
|
build_style=cmake
|
|
configure_args="-DUSE_SHARED=TRUE"
|
|
hostmakedepends="cmake pkg-config"
|
|
makedepends="libxml2-devel pcre-devel"
|
|
short_desc="Stream based reader and writer library for COLLADA files"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="GPL-3"
|
|
homepage="https://github.com/KhronosGroup/OpenCOLLADA"
|
|
distfiles="https://github.com/KhronosGroup/OpenCOLLADA/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=031205ae7f6085b5fc480c150b6a484ab2e573cd01888010dbd1f492d0ef5559
|
|
|
|
post_install() {
|
|
# Move libraries to /usr/lib to avoid adding to /etc/ld.so.conf.d
|
|
mv ${DESTDIR}/usr/lib/opencollada/* ${DESTDIR}/usr/lib
|
|
}
|
|
|
|
opencollada-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
# usr/lib contains only unversioned *.so files
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|