# Template file for 'miniupnpc'
pkgname=miniupnpc
version=1.6
revision=1
build_style=gnu-makefile
subpackages="$pkgname-devel"
make_install_args="PREFIX=${XBPS_DESTDIR}/${pkgname}-${version}"
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."

post_install() {
	chmod 755 ${DESTDIR}/usr/lib/*.so*
	vinstall man3/miniupnpc.3 644 usr/share/man/man3
	vinstall LICENSE 644 usr/share/licenses/$pkgname
}
