void-packages/srcpkgs/phorward/template

32 lines
738 B
Bash

# Template file for 'phorward'
pkgname=phorward
version=1.0.0
revision=1
build_style=gnu-configure
short_desc="Software package consisting of a powerful C functions library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.phorward-software.com"
distfiles="https://github.com/phorward/phorward/archive/v${version}.tar.gz"
checksum=4257e137d158489503c3040be7e4979f70beedb0376f41fa83775071188f96af
post_install() {
vlicense LICENSE
}
libphorward_package() {
short_desc+=" - libraries"
pkg_install() {
vmove "usr/lib/libphorward.so.*"
}
}
libphorward-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}