void-packages/srcpkgs/phorward/template

28 lines
704 B
Bash

# Template build file for 'phorward'
pkgname=phorward
version=0.22.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=9656eea3b52f6774b06bcf5ad6b6328e9a0f0b5312db559a63a3d83cf7ea74b7
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"
}
}