|
Revision 17721, 1.2 KB
(checked in by dmichelsen, 5 weeks ago)
|
|
grep/trunk: Update to 2.11 and bump pcre soname
|
| Line | |
|---|
| 1 | NAME = grep |
|---|
| 2 | VERSION = 2.11 |
|---|
| 3 | CATEGORIES = utils |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = GNU grep |
|---|
| 7 | define BLURB |
|---|
| 8 | The GNU family of grep utilities may be the "fastest grep in the west". |
|---|
| 9 | GNU grep is based on a fast lazy-state deterministic matcher (about |
|---|
| 10 | twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper |
|---|
| 11 | search for a fixed string that eliminates impossible text from being |
|---|
| 12 | considered by the full regexp matcher without necessarily having to |
|---|
| 13 | look at every character. The result is typically many times faster |
|---|
| 14 | than Unix grep or egrep. (Regular expressions containing backreferencing |
|---|
| 15 | will run more slowly, however.) |
|---|
| 16 | endef |
|---|
| 17 | |
|---|
| 18 | MASTER_SITES = $(GNU_MIRROR) |
|---|
| 19 | # MASTER_SITES += http://meyering.net/grep/ |
|---|
| 20 | DISTFILES = $(DISTNAME).tar.xz |
|---|
| 21 | |
|---|
| 22 | PACKAGES = CSWggrep |
|---|
| 23 | CATALOGNAME = ggrep |
|---|
| 24 | RUNTIME_DEP_PKGS_CSWggrep += CSWlibintl8 |
|---|
| 25 | RUNTIME_DEP_PKGS_CSWggrep += CSWlibpcre1 |
|---|
| 26 | RUNTIME_DEP_PKGS_CSWggrep += CSWlibiconv2 |
|---|
| 27 | |
|---|
| 28 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 29 | CONFIGURE_ARGS += --program-prefix=g |
|---|
| 30 | |
|---|
| 31 | EXTRA_MERGE_EXCLUDE_FILES = $(libdir)/charset.alias |
|---|
| 32 | |
|---|
| 33 | include gar/category.mk |
|---|
| 34 | |
|---|
| 35 | post-install-modulated: |
|---|
| 36 | ginstall -d $(DESTDIR)$(prefix)/gnu |
|---|
| 37 | $(foreach G,$(notdir $(wildcard $(DESTDIR)$(bindir)/*)),ln -s ../bin/$G $(DESTDIR)$(prefix)/gnu/$(patsubst g%,%,$G);) |
|---|
| 38 | @$(MAKECOOKIE) |
|---|