void-packages/srcpkgs/devil/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

30 lines
934 B
Bash

# Template file for 'devil'
pkgname=devil
version=1.8.0
revision=3
wrksrc="DevIL"
build_wrksrc="DevIL"
build_style=cmake
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="Orphaned <orphan@voidlinux.org>"
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"
}
}