vp-build/srcpkgs/phorward/template

32 lines
738 B
Bash

# Template file for 'phorward'
pkgname=phorward
version=0.23.0
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=519f4bbe07ee865a5958b6e50ea95f99faa690daf02d3a707ac6cde36dc59134
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"
}
}