void-packages/srcpkgs/phorward/template
2019-11-12 12:54:12 +01:00

31 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=1733858862f05eac3e9c1eadfd1e6e9f7d35bde606b609d830be1946a6c05b3b
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"
}
}