GNU Grep with new pkgdef meta
This commit is contained in:
parent
95cb64e713
commit
52b1c5e1c3
@ -9,7 +9,7 @@
|
|||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=grep
|
topdir=grep
|
||||||
version=2.5
|
version=2.5
|
||||||
pkgver=1
|
pkgver=2
|
||||||
source[0]=$topdir-$version.tar.bz2
|
source[0]=$topdir-$version.tar.bz2
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
patch[0]=grep-2.5-symlink-destdir.patch
|
patch[0]=grep-2.5-symlink-destdir.patch
|
||||||
@ -17,13 +17,6 @@ patch[0]=grep-2.5-symlink-destdir.patch
|
|||||||
# Source function library
|
# Source function library
|
||||||
. ${BUILDPKG_BASE}/scripts/buildpkg.functions
|
. ${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
|
# Define script functions and register them
|
||||||
METHODS=""
|
METHODS=""
|
||||||
reg() {
|
reg() {
|
||||||
@ -46,6 +39,7 @@ reg install
|
|||||||
install()
|
install()
|
||||||
{
|
{
|
||||||
generic_install DESTDIR
|
generic_install DESTDIR
|
||||||
|
$RM -f $stagedir$prefix/$_infodir/dir
|
||||||
}
|
}
|
||||||
|
|
||||||
reg pack
|
reg pack
|
||||||
|
11
grep/meta/pkgdef
Normal file
11
grep/meta/pkgdef
Normal 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
|
Loading…
x
Reference in New Issue
Block a user