37 lines
946 B
Bash
37 lines
946 B
Bash
# Template file for 'libupnp1.8'
|
|
pkgname=libupnp1.8
|
|
version=1.8.4
|
|
revision=1
|
|
wrksrc="pupnp-release-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-ipv6 --enable-reuseaddr"
|
|
hostmakedepends="automake libtool"
|
|
short_desc="A Portable Open Source UPnP Development Kit"
|
|
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://pupnp.sourceforge.net/"
|
|
distfiles="https://github.com/mrjimenez/pupnp/archive/release-${version}.tar.gz"
|
|
checksum=976c3e4555604cdd8391ed2f359c08c9dead3b6bf131c24ce78e64d6669af2ed
|
|
|
|
# libupnp uses large file support, so users must do that, too
|
|
CFLAGS="-D_FILE_OFFSET_BITS=64"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libupnp1.8-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|