vp-build/srcpkgs/phorward/template

32 lines
738 B
Bash

# Template file for 'phorward'
pkgname=phorward
version=0.22.4
revision=1
build_style=gnu-configure
short_desc="Software package consisting of a powerful C functions library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-3-Clause"
homepage="http://www.phorward-software.com"
distfiles="https://github.com/phorward/phorward/archive/v${version}.tar.gz"
checksum=0a3ee1f015fe4f2b183756f61c495438b876251a55b37365fb602ad250446288
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"
}
}