New package: assimp-3.3.1
This commit is contained in:
parent
ed6723f380
commit
42c496f71a
|
@ -2799,3 +2799,4 @@ libomxvideosched.so.0 libomxil-bellagio-0.9.3_1
|
|||
libnss_libvirt_guest.so.2 libvirt-3.1.0_1
|
||||
libvirt-admin.so.0 libvirt-3.1.0_1
|
||||
libnss_libvirt.so.2 libvirt-3.1.0_1
|
||||
libassimp.so.3 libassimp-3.3.1_1
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
# Template file for 'assimp'
|
||||
pkgname=assimp
|
||||
version=3.3.1
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="cmake pkg-config doxygen"
|
||||
makedepends="boost-devel zlib-devel"
|
||||
short_desc="Import library for various well-known 3D model formats"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="3-clause-BSD"
|
||||
homepage="http://assimp.sourceforge.net/"
|
||||
distfiles="https://github.com/assimp/assimp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||
checksum=d385c3f90876241343f09e45f4e5033a6a05861b971c63d1f6d512371ffdc7bf
|
||||
depends="libassimp>=${version}_${revision}"
|
||||
|
||||
post_install() {
|
||||
cd doc
|
||||
# Create command documentation
|
||||
rm -rf AssimpCmdDoc_Html
|
||||
doxygen Doxyfile_Cmd
|
||||
vmkdir usr/share/doc/${pkgname}
|
||||
vcopy AssimpCmdDoc_Html/* usr/share/doc/${pkgname}
|
||||
# Create library documentation
|
||||
rm -rf AssimpDoc_Html
|
||||
doxygen Doxyfile
|
||||
vmkdir usr/share/doc/${pkgname}/lib
|
||||
vcopy AssimpDoc_Html/* usr/share/doc/${pkgname}/lib
|
||||
cd ..
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
libassimp_package() {
|
||||
short_desc+=" - libraries"
|
||||
depends="${makedepends}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/*.so.*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
libassimp-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="libassimp>${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/cmake
|
||||
vmove usr/lib/pkgconfig
|
||||
vmkdir usr/share/doc/libassimp
|
||||
mv ${DESTDIR}/usr/share/doc/${sourcepkg}/lib/* \
|
||||
${PKGDESTDIR}/usr/share/doc/libassimp/
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
assimp
|
|
@ -0,0 +1 @@
|
|||
assimp
|
Loading…
Reference in New Issue