aboutsummaryrefslogtreecommitdiffstats
path: root/packages/grep
diff options
context:
space:
mode:
Diffstat (limited to 'packages/grep')
-rw-r--r--packages/grep/.mtn2git_empty0
-rw-r--r--packages/grep/grep-2.5/.mtn2git_empty0
-rw-r--r--packages/grep/grep-2.5/install.patch15
-rw-r--r--packages/grep/grep_2.5.1.bb15
-rw-r--r--packages/grep/grep_2.5.bb16
5 files changed, 46 insertions, 0 deletions
diff --git a/packages/grep/.mtn2git_empty b/packages/grep/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/grep/.mtn2git_empty
diff --git a/packages/grep/grep-2.5/.mtn2git_empty b/packages/grep/grep-2.5/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/grep/grep-2.5/.mtn2git_empty
diff --git a/packages/grep/grep-2.5/install.patch b/packages/grep/grep-2.5/install.patch
index e69de29bb2..cbb9229a8e 100644
--- a/packages/grep/grep-2.5/install.patch
+++ b/packages/grep/grep-2.5/install.patch
@@ -0,0 +1,15 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- grep-2.5/src/Makefile.am~install
++++ grep-2.5/src/Makefile.am
+@@ -18,5 +18,5 @@
+ vms_fab.c vms_fab.h
+
+ install-exec-local:
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/egrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/fgrep
diff --git a/packages/grep/grep_2.5.1.bb b/packages/grep/grep_2.5.1.bb
index e69de29bb2..c900599de9 100644
--- a/packages/grep/grep_2.5.1.bb
+++ b/packages/grep/grep_2.5.1.bb
@@ -0,0 +1,15 @@
+LICENSE = GPL
+SECTION = "console/utils"
+DESCRIPTION = "grep GNU utility"
+MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
+
+SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.bz2"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-perl-regexp --disable-ncurses"
+
+do_configure () {
+ rm -f ${S}/m4/init.m4
+ autotools_do_configure
+}
diff --git a/packages/grep/grep_2.5.bb b/packages/grep/grep_2.5.bb
index e69de29bb2..e7809587ee 100644
--- a/packages/grep/grep_2.5.bb
+++ b/packages/grep/grep_2.5.bb
@@ -0,0 +1,16 @@
+LICENSE = GPL
+SECTION = "console/utils"
+DESCRIPTION = "grep GNU utility"
+MAINTAINER = "Pawel Osiczko <p.osiczko@tetrapyloctomy.org>"
+
+SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.bz2 \
+ file://install.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-perl-regexp --disable-ncurses"
+
+do_configure () {
+ rm -f ${S}/m4/init.m4
+ autotools_do_configure
+}