32 lines
1005 B
Bash
32 lines
1005 B
Bash
# Template file for 'devil'
|
|
pkgname=devil
|
|
version=1.8.0
|
|
revision=2
|
|
wrksrc="DevIL"
|
|
build_wrksrc="DevIL"
|
|
build_style=cmake
|
|
configure_args="--enable-ILU --enable-ILUT --with-examples"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="lcms-devel libpng-devel libmng-devel jasper-devel
|
|
glew-devel libfreeglut-devel libopenexr-devel SDL_image-devel"
|
|
short_desc="Developer's Image Library"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="LGPL-2.1"
|
|
homepage="http://openil.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/openil/DevIL-${version}.tar.gz"
|
|
checksum=0075973ee7dd89f0507873e2580ac78336452d29d34a07134b208f44e2feb709
|
|
# The examples subpkg is gone
|
|
replaces="devil-examples<1.8.0"
|
|
|
|
devil-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmkdir usr/share/doc/devil
|
|
cp -aR ${wrksrc}/DevIL-docs/*pdf ${PKGDESTDIR}/usr/share/doc/devil
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|