mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-26 08:02:26 +02:00
31 lines
891 B
Plaintext
31 lines
891 B
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=libupnp
|
|
pkgver=1.6.22
|
|
pkgrel=0
|
|
pkgdesc="Portable Open Source UPnP Development Kit"
|
|
url="http://pupnp.sourceforge.net/"
|
|
arch="all"
|
|
license="BSD"
|
|
depends=
|
|
depends_dev=
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
|
|
}
|
|
|
|
sha512sums="abf7265155fb819e971e27dd25fd3f8143c04d6373b1b4a2769de9fadbbd3a012758acda866511a443f7e159b66068d9f7f99072c509a8fa06bcfe1275bdd9af libupnp-1.6.22.tar.bz2"
|