void-packages/srcpkgs/miniupnpc/template

44 lines
1.4 KiB
Plaintext

# Template file for 'miniupnpc'
pkgname=miniupnpc
version=1.6
revision=2
build_style=gnu-makefile
short_desc="A small UPnP client library/tool to access Internet Gateway Devices"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://miniupnp.free.fr"
license="BSD"
distfiles="http://miniupnp.free.fr/files/$pkgname-$version.tar.gz"
checksum=bbd6b756e6af44b5a5b0f9b93eada3fb8922ed1d6451b7d6f184d0ae0c813994
long_desc="
isl is a library for manipulating sets and relations of integer points bounded
by linear constraints. Supported operations on sets include intersection, union,
set difference, emptiness check, convex hull, (integer) affine hull, integer
projection, computing the lexicographic minimum using parametric integer
programming, coalescing and parametric vertex enumeration. It also includes an
ILP solver based on generalized basis reduction, transitive closures on maps
(which may encode infinite graphs), dependence analysis and bounds on piecewise
step-polynomials."
do_install() {
make PREFIX=${DESTDIR} install
chmod 755 ${DESTDIR}/usr/lib/*.so*
vinstall man3/miniupnpc.3 644 usr/share/man/man3
vinstall LICENSE 644 usr/share/licenses/$pkgname
}
miniupnpc-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}
miniupnpc_package() {
pkg_install() {
vmove usr
}
}