void-packages/srcpkgs/miniupnpc/template
2013-10-29 11:05:33 +01:00

45 lines
1.4 KiB
Text

# Template file for 'miniupnpc'
pkgname=miniupnpc
version=1.8
revision=1
build_style=gnu-makefile
hostmakedepends="which"
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=bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c
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+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
miniupnpc_package() {
pkg_install() {
vmove all
}
}