2012-07-04 13:20:52 +00:00
|
|
|
# Template file for 'miniupnpc'
|
|
|
|
pkgname=miniupnpc
|
2014-09-08 19:33:16 +00:00
|
|
|
version=1.9
|
|
|
|
revision=1
|
2012-07-04 13:20:52 +00:00
|
|
|
build_style=gnu-makefile
|
|
|
|
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"
|
2014-11-05 11:48:22 +00:00
|
|
|
update_ignore="*.???????? 20[0123456789][0123456789]????"
|
2012-07-04 13:20:52 +00:00
|
|
|
distfiles="http://miniupnp.free.fr/files/$pkgname-$version.tar.gz"
|
2014-09-08 19:33:16 +00:00
|
|
|
checksum=2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464
|
2012-07-04 13:20:52 +00:00
|
|
|
|
2013-04-14 02:24:51 +00:00
|
|
|
do_install() {
|
|
|
|
make PREFIX=${DESTDIR} install
|
2014-09-08 19:33:16 +00:00
|
|
|
vlicense LICENSE
|
2012-07-04 13:20:52 +00:00
|
|
|
}
|
2013-04-14 02:24:51 +00:00
|
|
|
|
|
|
|
miniupnpc-devel_package() {
|
2014-02-21 14:05:13 +00:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-10-29 10:05:33 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 02:24:51 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-10-29 10:05:33 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-09-08 19:33:16 +00:00
|
|
|
vmove usr/share/man/man3
|
2013-04-14 02:24:51 +00:00
|
|
|
}
|
|
|
|
}
|