void-packages/srcpkgs/phorward/template
2015-09-28 09:52:55 +02:00

39 lines
939 B
Bash

# Template build file for 'phorward'
pkgname=phorward
version=0.17
revision=4
build_style=gnu-configure
short_desc="Software package consisting of a powerful C functions library."
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.phorward-software.com"
license="BSD"
distfiles="${homepage}/products/${pkgname}/${pkgname}-${version}-source.tar.gz"
checksum=6e359e5398b59f4db4d6fabb641a8336563aecca8e7af2de9016c9f81c305c55
wrksrc="${pkgname}-${version}-source"
phorward-devel_package() {
depends="phorward>=${version}_${revision}
libphorward>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/include
}
}
libphorward_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/libphorward*.so.*"
}
}
phorward-doc_package() {
noarch=yes
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/man
}
}