void-packages/srcpkgs/phorward/template

31 lines
739 B
Bash

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