GNU Grep with new pkgdef meta

This commit is contained in:
Tom G. Christensen 2004-04-28 06:40:13 +00:00 committed by tgc
parent 95cb64e713
commit 52b1c5e1c3
2 changed files with 13 additions and 8 deletions

View File

@ -9,7 +9,7 @@
# Check the following 4 variables before running the script
topdir=grep
version=2.5
pkgver=1
pkgver=2
source[0]=$topdir-$version.tar.bz2
# If there are no patches, simply comment this
patch[0]=grep-2.5-symlink-destdir.patch
@ -17,13 +17,6 @@ patch[0]=grep-2.5-symlink-destdir.patch
# Source function library
. ${BUILDPKG_BASE}/scripts/buildpkg.functions
# Fill in pkginfo values if necessary
# using pkgname,name,pkgcat,pkgvendor & pkgdesc
name="GNU grep"
pkgcat="application"
pkgvendor="http://www.gnu.org"
pkgdesc="Find lines that match entered patterns"
# Define script functions and register them
METHODS=""
reg() {
@ -46,6 +39,7 @@ reg install
install()
{
generic_install DESTDIR
$RM -f $stagedir$prefix/$_infodir/dir
}
reg pack

11
grep/meta/pkgdef Normal file
View File

@ -0,0 +1,11 @@
[grep]
pkgname="$pkgprefix""$topdir"
name="GNU grep"
pkgcat="application"
pkgvendor="http://www.gnu.org"
pkgdesc="Find lines that match entered patterns"
pkgver="$pkgver"
files(-,root,bin)
$_bindir
$_infodir
$_mandir