main/xfce4-wavelan-plugin: upgrade to 0.5.10

This commit is contained in:
Natanael Copa 2012-04-30 11:22:19 +00:00
parent 716053dd69
commit dec67d95af
2 changed files with 6 additions and 19 deletions

View File

@ -1,17 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-wavelan-plugin
pkgver=0.5.6
pkgrel=2
pkgver=0.5.10
pkgrel=0
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=
subpackages="$pkgname-lang"
makedepends="pkgconfig xfce4-panel-dev intltool libsm-dev libxfcegui4-dev
xfce4-dev-tools"
makedepends="xfce4-panel-dev libxfce4ui-dev"
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
@ -22,7 +20,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
xdt-autogen
# xdt-autogen
}
build() {
@ -39,8 +37,8 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/xfce4/panel/plugins/*.la || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="b23a4c9c2a206242ee4db8186dd01801 xfce4-wavelan-plugin-0.5.6.tar.bz2
826ac10d3daab247abadaf9797bcf22e xfce4-wavelan-plugin-0.5.6-fix-libm-underlinking.patch"
md5sums="a4cd20ef471123936e762a139f1025e1 xfce4-wavelan-plugin-0.5.10.tar.bz2"

View File

@ -1,11 +0,0 @@
diff -ur xfce4-wavelan-plugin-0.5.6.orig/configure.ac xfce4-wavelan-plugin-0.5.6/configure.ac
--- xfce4-wavelan-plugin-0.5.6.orig/configure.ac 2010-12-04 01:51:47.000000000 +0100
+++ xfce4-wavelan-plugin-0.5.6/configure.ac 2011-09-21 08:55:53.549999963 +0200
@@ -41,6 +41,7 @@
sys/socket.h sys/ioctl.h linux/types.h linux/if.h \
linux/wireless.h string.h \
ctype.h], [], [], [#include <sys/socket.h>])
+AC_SEARCH_LIBS(sin, m)
dnl Check for i18n support
XDT_I18N([ar ast be ca cs da de en_GB es eu fr gl hu id it ja kk ko lv nb pl pt_BR pt ru sq sv tr ug uk ur_PK ur vi zh_CN ])