mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/libupnp: upgrade to 1.6.25, clarify license, modernize abuild
This commit is contained in:
parent
304e1bcaf8
commit
5f984c11c0
@ -1,30 +1,31 @@
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=libupnp
|
||||
pkgver=1.6.22
|
||||
pkgver=1.6.25
|
||||
pkgrel=0
|
||||
pkgdesc="Portable Open Source UPnP Development Kit"
|
||||
url="http://pupnp.sourceforge.net/"
|
||||
url="http://pupnp.sourceforge.net"
|
||||
arch="all"
|
||||
license="BSD"
|
||||
license="BSD-3-Clause"
|
||||
depends=
|
||||
depends_dev=
|
||||
makedepends="$depends_dev"
|
||||
install=""
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
subpackages="$pkgname-dev"
|
||||
source="http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2"
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-ipv6
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="abf7265155fb819e971e27dd25fd3f8143c04d6373b1b4a2769de9fadbbd3a012758acda866511a443f7e159b66068d9f7f99072c509a8fa06bcfe1275bdd9af libupnp-1.6.22.tar.bz2"
|
||||
sha512sums="c1426c2f855f34a56b96761602a35989867918b556ecf9784c9ce9580f6c6083950004909831bad331f3a4dfb70ef1bd287e026c71bbfde2613f77fe05ab9e1f libupnp-1.6.25.tar.bz2"
|
||||
|
Loading…
Reference in New Issue
Block a user