30 lines
821 B
Text
30 lines
821 B
Text
# Template file for 'miniupnpc'
|
|
pkgname=miniupnpc
|
|
version=1.8
|
|
revision=2
|
|
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
|
|
|
|
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}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|