summaryrefslogtreecommitdiffstats
path: root/main/grep
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-31 07:03:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-31 07:03:05 +0000
commit74a796a4570f4cd62c0ea741ec5db92e8707b3be (patch)
treee93b46152f0051f4a78477833b88d8fe2890dc89 /main/grep
parent297fd4225ccb936b7ac1af78dc0b5a33c0cac1f8 (diff)
downloadaports-74a796a4570f4cd62c0ea741ec5db92e8707b3be.tar.bz2
aports-74a796a4570f4cd62c0ea741ec5db92e8707b3be.tar.xz
main/grep: upgrade to 2.6.2
Diffstat (limited to 'main/grep')
-rw-r--r--main/grep/APKBUILD19
-rw-r--r--main/grep/grep.post-deinstall3
2 files changed, 10 insertions, 12 deletions
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD
index 4bdc96472..246d6c2ae 100644
--- a/main/grep/APKBUILD
+++ b/main/grep/APKBUILD
@@ -1,17 +1,16 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer:
pkgname=grep
-pkgver=2.5.4
-pkgrel=1
+pkgver=2.6.2
+pkgrel=0
pkgdesc="Searches input files for lines containing a match to a specified pattern"
url="http://www.gnu.org/software/grep/grep.html"
license="GPL"
-depends="uclibc pcre"
+depends=
makedepends="pcre-dev"
-install="$pkgname.post-deinstall"
+install=
subpackages="$pkgname-doc"
-source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
- $install"
+source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -22,9 +21,11 @@ build() {
--infodir=/usr/share/info \
--disable-nls
make || return 1
- make DESTDIR="$pkgdir" install
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
-md5sums="92258031d98d4f12dfc6a6d24057e672 grep-2.5.4.tar.gz
-b84506d253e04db3c5af9016fead45a3 grep.post-deinstall"
+md5sums="923ab7442f333cdfe8d1c6f8e3de88db grep-2.6.2.tar.gz"
diff --git a/main/grep/grep.post-deinstall b/main/grep/grep.post-deinstall
deleted file mode 100644
index 99b57c463..000000000
--- a/main/grep/grep.post-deinstall
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-busybox --install -s