void-packages/srcpkgs/phorward/template

40 lines
937 B
Bash

# Template build file for 'phorward'
pkgname=phorward
version=0.17
revision=3
build_style=gnu-configure
short_desc="Software package consisting of a powerful C functions library."
maintainer="Juan RP <xtraeme@gmail.com>"
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-docs_package() {
noarch=yes
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/man
}
}