diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-09 07:25:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-09 07:25:04 +0000 |
commit | 29f6958bc838adab23a3c564b0218608809acc1d (patch) | |
tree | e30720da99ce846241ec733416fe57125b99b121 /main/iw | |
parent | 0dcd527049087a48e81cc991f4851b7682f7ac13 (diff) | |
download | aports-29f6958bc838adab23a3c564b0218608809acc1d.tar.bz2 aports-29f6958bc838adab23a3c564b0218608809acc1d.tar.xz |
main/iw: upgrade to 0.9.20
Diffstat (limited to 'main/iw')
-rw-r--r-- | main/iw/APKBUILD | 16 | ||||
-rw-r--r-- | main/iw/iw-bb-install.patch | 15 |
2 files changed, 10 insertions, 21 deletions
diff --git a/main/iw/APKBUILD b/main/iw/APKBUILD index 3cce23eff1..d5ca96452c 100644 --- a/main/iw/APKBUILD +++ b/main/iw/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=iw -pkgver=0.9.18 +pkgver=0.9.20 pkgrel=0 pkgdesc="nl80211 based CLI configuration utility for wireless devices" url="http://wireless.kernel.org/en/users/Documentation/iw" @@ -8,14 +8,19 @@ license="GPL" depends="" makedepends="libnl-dev" source="http://wireless.kernel.org/download/iw/iw-$pkgver.tar.bz2 - iw-bb-install.patch iw-git-version.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - patch -p1 -i "$srcdir"/iw-bb-install.patch || return 1 - patch -p1 -i "$srcdir"/iw-git-version.patch || return 1 + for i in $source; do + case $i in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac + done } build () { @@ -28,6 +33,5 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="9734080d8a5c4b768c5e0da665a48950 iw-0.9.18.tar.bz2 -7f8cfc205fdcfd49d04c8923c76f439a iw-bb-install.patch +md5sums="1055799b544b3e08169d155bb6c21bb0 iw-0.9.20.tar.bz2 779d0e73df6e484c071149c9fb720551 iw-git-version.patch" diff --git a/main/iw/iw-bb-install.patch b/main/iw/iw-bb-install.patch deleted file mode 100644 index b736dbf7c2..0000000000 --- a/main/iw/iw-bb-install.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- ./Makefile.orig -+++ ./Makefile -@@ -86,10 +86,10 @@ - install: iw iw.8.gz - @$(NQ) ' INST iw' - $(Q)$(MKDIR) $(DESTDIR)$(SBINDIR) -- $(Q)$(INSTALL) -m 755 -t $(DESTDIR)$(SBINDIR) iw -+ $(Q)$(INSTALL) -m 755 iw $(DESTDIR)$(SBINDIR)/ - @$(NQ) ' INST iw.8' - $(Q)$(MKDIR) $(DESTDIR)$(MANDIR)/man8/ -- $(Q)$(INSTALL) -m 644 -t $(DESTDIR)$(MANDIR)/man8/ iw.8.gz -+ $(Q)$(INSTALL) -m 644 iw.8.gz $(DESTDIR)$(MANDIR)/man8/ - - clean: - $(Q)rm -f iw *.o *~ *.gz version.c *-stamp |