summaryrefslogtreecommitdiff
path: root/grep
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-24 14:48:04 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-24 14:48:04 +0400
commit98cb3b26f4043c9a83029c21855ff61b7601e611 (patch)
treee0e08eb9e6a168c65444dfc9751a522cb08b0ab3 /grep
downloadcibs-pkgs-98cb3b26f4043c9a83029c21855ff61b7601e611.tar.gz
Initial commit from cibs/examples
Diffstat (limited to 'grep')
-rw-r--r--grep/Makefile26
-rw-r--r--grep/gnu-grep.p5m158
2 files changed, 184 insertions, 0 deletions
diff --git a/grep/Makefile b/grep/Makefile
new file mode 100644
index 0000000..ddc9201
--- /dev/null
+++ b/grep/Makefile
@@ -0,0 +1,26 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/archive.mk
+include /usr/share/cibs/rules/autotools.mk
+include /usr/share/cibs/rules/32.mk
+
+
+summary := GNU grep, egrep and fgrep
+license := GPLv3
+license-file := COPYING
+
+build-depends += \
+ library/pcre \
+ compress/xz
+
+prefix := /usr/gnu
+
+name := grep
+home := http://www.gnu.org/software/$(name)/
+version := 2.14
+archive := $(name)-$(version).tar.xz
+download := http://ftp.gnu.org/gnu/$(name)/$(archive)
+checksum := \
+ md5:d4a3f03849d1e17ce56ab76aa5a24cab \
+ sha1:fb6ea404a0ef915334ca6212c7b517432ffe193e \
+ sha256:e70e801d4fbb16e761654a58ae48bf5020621c95c8e35bd864742577685872e1 \
+ size:1195640
diff --git a/grep/gnu-grep.p5m b/grep/gnu-grep.p5m
new file mode 100644
index 0000000..86f02f9
--- /dev/null
+++ b/grep/gnu-grep.p5m
@@ -0,0 +1,158 @@
+set name=pkg.fmri value=pkg:/text/gnu-$(name)@$(ips-version)
+set name=pkg.summary value="$(summary)"
+set name=info.upstream-url value="$(home)"
+set name=info.source_url value="$(download)"
+license $(license-file) license="$(license)"
+
+<transform file path=usr/gnu/bin/(.+) -> \
+emit link path=usr/bin/g%<1> target=../gnu/bin/%<1> >
+
+<transform file path=usr/gnu/share/man/man1/(.+) -> \
+emit link path=usr/share/man/man1/g%<1> target=../../../gnu/share/man/man1/%<1> >
+
+
+dir path=usr
+dir path=usr/gnu
+dir path=usr/gnu/bin
+dir path=usr/gnu/share
+dir path=usr/gnu/share/locale
+dir path=usr/gnu/share/locale/af
+dir path=usr/gnu/share/locale/af/LC_MESSAGES
+dir path=usr/gnu/share/locale/be
+dir path=usr/gnu/share/locale/be/LC_MESSAGES
+dir path=usr/gnu/share/locale/bg
+dir path=usr/gnu/share/locale/bg/LC_MESSAGES
+dir path=usr/gnu/share/locale/ca
+dir path=usr/gnu/share/locale/ca/LC_MESSAGES
+dir path=usr/gnu/share/locale/cs
+dir path=usr/gnu/share/locale/cs/LC_MESSAGES
+dir path=usr/gnu/share/locale/da
+dir path=usr/gnu/share/locale/da/LC_MESSAGES
+dir path=usr/gnu/share/locale/de
+dir path=usr/gnu/share/locale/de/LC_MESSAGES
+dir path=usr/gnu/share/locale/el
+dir path=usr/gnu/share/locale/el/LC_MESSAGES
+dir path=usr/gnu/share/locale/eo
+dir path=usr/gnu/share/locale/eo/LC_MESSAGES
+dir path=usr/gnu/share/locale/es
+dir path=usr/gnu/share/locale/es/LC_MESSAGES
+dir path=usr/gnu/share/locale/et
+dir path=usr/gnu/share/locale/et/LC_MESSAGES
+dir path=usr/gnu/share/locale/eu
+dir path=usr/gnu/share/locale/eu/LC_MESSAGES
+dir path=usr/gnu/share/locale/fi
+dir path=usr/gnu/share/locale/fi/LC_MESSAGES
+dir path=usr/gnu/share/locale/fr
+dir path=usr/gnu/share/locale/fr/LC_MESSAGES
+dir path=usr/gnu/share/locale/ga
+dir path=usr/gnu/share/locale/ga/LC_MESSAGES
+dir path=usr/gnu/share/locale/gl
+dir path=usr/gnu/share/locale/gl/LC_MESSAGES
+dir path=usr/gnu/share/locale/he
+dir path=usr/gnu/share/locale/he/LC_MESSAGES
+dir path=usr/gnu/share/locale/hr
+dir path=usr/gnu/share/locale/hr/LC_MESSAGES
+dir path=usr/gnu/share/locale/hu
+dir path=usr/gnu/share/locale/hu/LC_MESSAGES
+dir path=usr/gnu/share/locale/id
+dir path=usr/gnu/share/locale/id/LC_MESSAGES
+dir path=usr/gnu/share/locale/it
+dir path=usr/gnu/share/locale/it/LC_MESSAGES
+dir path=usr/gnu/share/locale/ja
+dir path=usr/gnu/share/locale/ja/LC_MESSAGES
+dir path=usr/gnu/share/locale/ko
+dir path=usr/gnu/share/locale/ko/LC_MESSAGES
+dir path=usr/gnu/share/locale/ky
+dir path=usr/gnu/share/locale/ky/LC_MESSAGES
+dir path=usr/gnu/share/locale/lt
+dir path=usr/gnu/share/locale/lt/LC_MESSAGES
+dir path=usr/gnu/share/locale/nb
+dir path=usr/gnu/share/locale/nb/LC_MESSAGES
+dir path=usr/gnu/share/locale/nl
+dir path=usr/gnu/share/locale/nl/LC_MESSAGES
+dir path=usr/gnu/share/locale/pa
+dir path=usr/gnu/share/locale/pa/LC_MESSAGES
+dir path=usr/gnu/share/locale/pl
+dir path=usr/gnu/share/locale/pl/LC_MESSAGES
+dir path=usr/gnu/share/locale/pt
+dir path=usr/gnu/share/locale/pt_BR
+dir path=usr/gnu/share/locale/pt_BR/LC_MESSAGES
+dir path=usr/gnu/share/locale/pt/LC_MESSAGES
+dir path=usr/gnu/share/locale/ro
+dir path=usr/gnu/share/locale/ro/LC_MESSAGES
+dir path=usr/gnu/share/locale/ru
+dir path=usr/gnu/share/locale/ru/LC_MESSAGES
+dir path=usr/gnu/share/locale/sk
+dir path=usr/gnu/share/locale/sk/LC_MESSAGES
+dir path=usr/gnu/share/locale/sl
+dir path=usr/gnu/share/locale/sl/LC_MESSAGES
+dir path=usr/gnu/share/locale/sr
+dir path=usr/gnu/share/locale/sr/LC_MESSAGES
+dir path=usr/gnu/share/locale/sv
+dir path=usr/gnu/share/locale/sv/LC_MESSAGES
+dir path=usr/gnu/share/locale/th
+dir path=usr/gnu/share/locale/th/LC_MESSAGES
+dir path=usr/gnu/share/locale/tr
+dir path=usr/gnu/share/locale/tr/LC_MESSAGES
+dir path=usr/gnu/share/locale/uk
+dir path=usr/gnu/share/locale/uk/LC_MESSAGES
+dir path=usr/gnu/share/locale/vi
+dir path=usr/gnu/share/locale/vi/LC_MESSAGES
+dir path=usr/gnu/share/locale/zh_CN
+dir path=usr/gnu/share/locale/zh_CN/LC_MESSAGES
+dir path=usr/gnu/share/locale/zh_TW
+dir path=usr/gnu/share/locale/zh_TW/LC_MESSAGES
+dir path=usr/gnu/share/man
+dir path=usr/gnu/share/man/man1
+dir path=usr/share
+dir path=usr/share/info
+file path=usr/gnu/bin/egrep
+file path=usr/gnu/bin/fgrep
+file path=usr/gnu/bin/grep
+file path=usr/gnu/share/locale/af/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/be/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/bg/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/ca/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/cs/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/da/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/de/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/el/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/eo/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/es/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/et/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/eu/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/fi/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/fr/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/ga/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/gl/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/he/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/hr/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/hu/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/id/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/it/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/ja/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/ko/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/ky/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/lt/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/nb/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/nl/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/pa/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/pl/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/pt_BR/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/pt/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/ro/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/ru/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/sk/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/sl/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/sr/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/sv/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/th/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/tr/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/uk/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/vi/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/locale/zh_TW/LC_MESSAGES/grep.mo
+file path=usr/gnu/share/man/man1/egrep.1
+file path=usr/gnu/share/man/man1/fgrep.1
+file path=usr/gnu/share/man/man1/grep.1
+file path=usr/share/info/grep.info