extra/grep: add post-deinstall script that restores busybox links

This commit is contained in:
Natanael Copa 2009-03-27 14:43:06 +00:00
parent b1fe0678e2
commit b4a243d8a7
2 changed files with 9 additions and 4 deletions

View File

@ -2,15 +2,16 @@
# Maintainer:
pkgname=grep
pkgver=2.5.4
pkgrel=0
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=
install="$pkgname.post-deinstall"
subpackages="$pkgname-doc"
source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
source="http://mirrors.kernel.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
$install"
build() {
cd "$srcdir/$pkgname-$pkgver"
@ -25,4 +26,5 @@ build() {
}
md5sums="92258031d98d4f12dfc6a6d24057e672 grep-2.5.4.tar.gz"
md5sums="92258031d98d4f12dfc6a6d24057e672 grep-2.5.4.tar.gz
b84506d253e04db3c5af9016fead45a3 grep.post-deinstall"

View File

@ -0,0 +1,3 @@
#!/bin/sh
busybox --install -s