mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +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>
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
pkgname=libupnp
|
pkgname=libupnp
|
||||||
pkgver=1.6.22
|
pkgver=1.6.25
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Portable Open Source UPnP Development Kit"
|
pkgdesc="Portable Open Source UPnP Development Kit"
|
||||||
url="http://pupnp.sourceforge.net/"
|
url="http://pupnp.sourceforge.net"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="BSD"
|
license="BSD-3-Clause"
|
||||||
depends=
|
depends=
|
||||||
depends_dev=
|
depends_dev=
|
||||||
makedepends="$depends_dev"
|
makedepends="$depends_dev"
|
||||||
install=""
|
install=""
|
||||||
subpackages="$pkgname-dev $pkgname-doc"
|
subpackages="$pkgname-dev"
|
||||||
source="http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2"
|
source="http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2"
|
||||||
builddir="$srcdir"/$pkgname-$pkgver
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
./configure --prefix=/usr
|
./configure \
|
||||||
make || return 1
|
--prefix=/usr \
|
||||||
|
--enable-ipv6
|
||||||
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
make DESTDIR="$pkgdir" install
|
||||||
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="abf7265155fb819e971e27dd25fd3f8143c04d6373b1b4a2769de9fadbbd3a012758acda866511a443f7e159b66068d9f7f99072c509a8fa06bcfe1275bdd9af libupnp-1.6.22.tar.bz2"
|
sha512sums="c1426c2f855f34a56b96761602a35989867918b556ecf9784c9ce9580f6c6083950004909831bad331f3a4dfb70ef1bd287e026c71bbfde2613f77fe05ab9e1f libupnp-1.6.25.tar.bz2"
|
||||||
|
Loading…
Reference in New Issue
Block a user