testing/gupnp: remove *.la, enable introspection

This commit is contained in:
Natanael Copa 2011-06-29 10:56:24 +00:00
parent 251a496b73
commit 81fa91d64c

View File

@ -2,14 +2,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gupnp
pkgver=0.16.1
pkgrel=0
pkgrel=1
pkgdesc="A framework for creating UPnP devices & control points"
url="http://www.gupnp.org/"
arch="all"
license="LGPLv2+"
depends=
depends_dev="dbus-dev libsoup-dev libxml2-dev util-linux-ng-dev gssdp-dev"
makedepends="$depends_dev"
makedepends="$depends_dev gobject-introspection-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.gupnp.org/sites/all/files/sources/gupnp-$pkgver.tar.gz"
@ -32,6 +32,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-introspection=yes \
|| return 1
make || return 1
}
@ -39,6 +40,7 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
md5sums="021bb237741532af4bca50157ff326e4 gupnp-0.16.1.tar.gz"