2012-07-04 15:20:52 +02:00
|
|
|
# Template file for 'miniupnpc'
|
|
|
|
pkgname=miniupnpc
|
2013-10-29 11:05:33 +01:00
|
|
|
version=1.8
|
2014-02-21 15:05:13 +01:00
|
|
|
revision=2
|
2012-07-04 15:20:52 +02:00
|
|
|
build_style=gnu-makefile
|
2013-10-29 11:05:33 +01:00
|
|
|
hostmakedepends="which"
|
2012-07-04 15:20:52 +02:00
|
|
|
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"
|
2013-10-29 11:05:33 +01:00
|
|
|
checksum=bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c
|
2012-07-04 15:20:52 +02:00
|
|
|
|
2013-04-14 04:24:51 +02:00
|
|
|
do_install() {
|
|
|
|
make PREFIX=${DESTDIR} install
|
|
|
|
|
2012-07-04 15:20:52 +02:00
|
|
|
chmod 755 ${DESTDIR}/usr/lib/*.so*
|
|
|
|
vinstall man3/miniupnpc.3 644 usr/share/man/man3
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
|
|
}
|
2013-04-14 04:24:51 +02:00
|
|
|
|
|
|
|
miniupnpc-devel_package() {
|
2014-02-21 15:05:13 +01:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-10-29 11:05:33 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 04:24:51 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-10-29 11:05:33 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 04:24:51 +02:00
|
|
|
}
|
|
|
|
}
|