diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-03 10:33:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-03 10:33:37 +0000 |
commit | 247188c40f62d56ae3cac792041b6610c9a6fe0e (patch) | |
tree | 1177768a209c34ba1d40cedf3cc16d9904051bb9 /main/xfce4-wavelan-plugin/APKBUILD | |
parent | dd04485bc45202b49ea7c5b58f9aa211b4dd47d7 (diff) | |
download | aports-247188c40f62d56ae3cac792041b6610c9a6fe0e.tar.bz2 aports-247188c40f62d56ae3cac792041b6610c9a6fe0e.tar.xz |
main/xfce4-wavelan-plugin: build fix, libm underlinking
Diffstat (limited to 'main/xfce4-wavelan-plugin/APKBUILD')
-rw-r--r-- | main/xfce4-wavelan-plugin/APKBUILD | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/main/xfce4-wavelan-plugin/APKBUILD b/main/xfce4-wavelan-plugin/APKBUILD index 4dd8240aff..274c4f10f6 100644 --- a/main/xfce4-wavelan-plugin/APKBUILD +++ b/main/xfce4-wavelan-plugin/APKBUILD @@ -1,17 +1,32 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xfce4-wavelan-plugin pkgver=0.5.6 -pkgrel=0 +pkgrel=1 pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel" url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/" arch="all" license="custom" depends= -makedepends="pkgconfig xfce4-panel-dev intltool libsm-dev libxfcegui4-dev" -source="http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" +subpackages="$pkgname-lang" +makedepends="pkgconfig xfce4-panel-dev intltool libsm-dev libxfcegui4-dev + xfce4-dev-tools" +source="http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 + xfce4-wavelan-plugin-0.5.6-fix-libm-underlinking.patch + " + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + xdt-autogen +} build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -22,9 +37,10 @@ build() { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="b23a4c9c2a206242ee4db8186dd01801 xfce4-wavelan-plugin-0.5.6.tar.bz2" +md5sums="b23a4c9c2a206242ee4db8186dd01801 xfce4-wavelan-plugin-0.5.6.tar.bz2 +826ac10d3daab247abadaf9797bcf22e xfce4-wavelan-plugin-0.5.6-fix-libm-underlinking.patch" |