vp-build/srcpkgs/png++/template

28 lines
638 B
Bash

# Template file for 'png++'
pkgname=png++
version=0.2.10
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=998af216ab16ebb88543fbaa2dbb9175855e944775b66f2996fc945c8444eee1
post_install() {
vlicense COPYING
}
png++-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}"
pkg_install() {
vmove usr/share
}
}