diff --git a/common/shlibs b/common/shlibs index f84a21b6f6..743d6e9ab7 100644 --- a/common/shlibs +++ b/common/shlibs @@ -977,3 +977,4 @@ librtmp.so.0 librtmp-2.4_1 libORBit-2.so.0 libORBit2-2.14.19_1 libORBit-imodule-2.so.0 libORBit2-2.14.19_1 libORBitCosNaming-2.so.0 libORBit2-2.14.19_1 +libminiupnpc.so.8 miniupnpc-1.6_1 diff --git a/srcpkgs/miniupnpc-devel b/srcpkgs/miniupnpc-devel new file mode 120000 index 0000000000..b965890371 --- /dev/null +++ b/srcpkgs/miniupnpc-devel @@ -0,0 +1 @@ +miniupnpc \ No newline at end of file diff --git a/srcpkgs/miniupnpc/miniupnpc-devel.template b/srcpkgs/miniupnpc/miniupnpc-devel.template new file mode 100644 index 0000000000..f6528ac7b2 --- /dev/null +++ b/srcpkgs/miniupnpc/miniupnpc-devel.template @@ -0,0 +1,12 @@ +# Template file for 'isl-devel'. +# +depends="miniupnpc>=$version" +short_desc="${short_desc} -- development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +do_install() { + vmove usr/include usr + vmove "usr/lib/*.a" usr/lib +} diff --git a/srcpkgs/miniupnpc/miniupnpc.rshlibs b/srcpkgs/miniupnpc/miniupnpc.rshlibs new file mode 100644 index 0000000000..631aa1dda4 --- /dev/null +++ b/srcpkgs/miniupnpc/miniupnpc.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/miniupnpc/template b/srcpkgs/miniupnpc/template new file mode 100644 index 0000000000..4077b54017 --- /dev/null +++ b/srcpkgs/miniupnpc/template @@ -0,0 +1,28 @@ +# 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 " +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 +}