diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/grep | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/grep')
-rw-r--r-- | main/grep/APKBUILD | 30 | ||||
-rw-r--r-- | main/grep/grep.post-deinstall | 3 |
2 files changed, 33 insertions, 0 deletions
diff --git a/main/grep/APKBUILD b/main/grep/APKBUILD new file mode 100644 index 0000000000..4bdc96472a --- /dev/null +++ b/main/grep/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: +pkgname=grep +pkgver=2.5.4 +pkgrel=1 +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" +makedepends="pcre-dev" +install="$pkgname.post-deinstall" +subpackages="$pkgname-doc" +source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz + $install" + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-nls + make || return 1 + make DESTDIR="$pkgdir" install + +} + +md5sums="92258031d98d4f12dfc6a6d24057e672 grep-2.5.4.tar.gz +b84506d253e04db3c5af9016fead45a3 grep.post-deinstall" diff --git a/main/grep/grep.post-deinstall b/main/grep/grep.post-deinstall new file mode 100644 index 0000000000..99b57c4635 --- /dev/null +++ b/main/grep/grep.post-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s |