38 lines
967 B
Bash
38 lines
967 B
Bash
# Template file for 'alembic'
|
|
pkgname=alembic
|
|
version=1.7.12
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DALEMBIC_LIB_USES_TR1=1"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="zlib-devel ilmbase-devel libatomic-devel"
|
|
short_desc="Open framework for storing and sharing scene data"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause, MIT"
|
|
homepage="https://alembic.io"
|
|
distfiles="https://github.com/alembic/alembic/archive/${version}.tar.gz"
|
|
checksum=6c603b87c9a3eaa13618e577dd9ef5277018cdcd09ac82d3c196ad8bed6a1b48
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64*) ;;
|
|
ppc*) broken="undefined reference to '__sync_bool_compare_and_swap_8'";;
|
|
esac
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
makedepends+=" hdf5-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
alembic-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|