void-packages/srcpkgs/png++/template

28 lines
637 B
Bash
Raw Normal View History

2018-10-18 03:29:28 +02:00
# Template file for 'png++'
pkgname=png++
version=0.2.9
revision=1
build_style=gnu-makefile
make_build_target="docs"
make_use_env=yes
hostmakedepends="doxygen"
depends="libpng-devel"
short_desc="C++ wrapper for libpng library"
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
license="BSD-3-Clause"
homepage="https://www.nongnu.org/pngpp"
distfiles="${NONGNU_SITE}/pngpp/${pkgname}-${version}.tar.gz"
checksum=abbc6a0565122b6c402d61743451830b4faee6ece454601c5711e1c1b4238791
post_install() {
vlicense COPYING
}
png++-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}"
pkg_install() {
vmove usr/share
}
}