diff options
-rw-r--r-- | examples/grep/Makefile | 26 | ||||
-rw-r--r-- | examples/grep/gnu-grep.p5m | 152 |
2 files changed, 178 insertions, 0 deletions
diff --git a/examples/grep/Makefile b/examples/grep/Makefile new file mode 100644 index 0000000..16d12b9 --- /dev/null +++ b/examples/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 и 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/examples/grep/gnu-grep.p5m b/examples/grep/gnu-grep.p5m new file mode 100644 index 0000000..bf811ec --- /dev/null +++ b/examples/grep/gnu-grep.p5m @@ -0,0 +1,152 @@ + +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)" + +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 |