aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/findutils/Makefile24
-rw-r--r--examples/findutils/gnu-findutils.p5m140
-rw-r--r--examples/findutils/locate.p5m25
3 files changed, 189 insertions, 0 deletions
diff --git a/examples/findutils/Makefile b/examples/findutils/Makefile
new file mode 100644
index 0000000..d943ef4
--- /dev/null
+++ b/examples/findutils/Makefile
@@ -0,0 +1,24 @@
+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 utilities for finding files
+license := GPLv3
+license-file := COPYING
+
+build-depends += \
+
+prefix := /usr/gnu
+
+name := findutils
+home := http://www.gnu.org/software/$(name)/
+version := 4.4.2
+archive := $(name)-$(version).tar.gz
+download := http://ftp.gnu.org/gnu/$(name)/$(archive)
+checksum := \
+ md5:351cc4adb07d54877fa15f75fb77d39f \
+ sha1:e8dd88fa2cc58abffd0bfc1eddab9020231bb024 \
+ sha256:434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a \
+ size:2149838
diff --git a/examples/findutils/gnu-findutils.p5m b/examples/findutils/gnu-findutils.p5m
new file mode 100644
index 0000000..ababa0c
--- /dev/null
+++ b/examples/findutils/gnu-findutils.p5m
@@ -0,0 +1,140 @@
+set name=pkg.fmri value=pkg:/file/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/libexec
+dir path=usr/gnu/share
+dir path=usr/gnu/share/locale
+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/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/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/lg
+dir path=usr/gnu/share/locale/lg/LC_MESSAGES
+dir path=usr/gnu/share/locale/lt
+dir path=usr/gnu/share/locale/lt/LC_MESSAGES
+dir path=usr/gnu/share/locale/ms
+dir path=usr/gnu/share/locale/ms/LC_MESSAGES
+dir path=usr/gnu/share/locale/nl
+dir path=usr/gnu/share/locale/nl/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/rw
+dir path=usr/gnu/share/locale/rw/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/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/find
+file path=usr/gnu/bin/oldfind
+file path=usr/gnu/bin/xargs
+file path=usr/gnu/share/locale/be/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/bg/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/ca/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/cs/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/da/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/de/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/el/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/eo/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/es/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/et/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/fi/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/fr/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/ga/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/gl/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/hr/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/hu/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/id/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/it/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/ja/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/ko/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/lg/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/lt/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/ms/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/nl/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/pl/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/pt_BR/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/pt/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/ro/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/ru/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/rw/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/sk/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/sl/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/sr/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/sv/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/tr/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/uk/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/vi/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/zh_CN/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/locale/zh_TW/LC_MESSAGES/findutils.mo
+file path=usr/gnu/share/man/man1/find.1
+file path=usr/gnu/share/man/man1/xargs.1
+file path=usr/share/info/find-maint.info
+file path=usr/share/info/find.info
diff --git a/examples/findutils/locate.p5m b/examples/findutils/locate.p5m
new file mode 100644
index 0000000..9d5b93d
--- /dev/null
+++ b/examples/findutils/locate.p5m
@@ -0,0 +1,25 @@
+set name=pkg.fmri value=pkg:/file/gnu-$(name)/locate@$(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)"
+
+depend fmri=pkg:/file/gnu-$(name)@4.4 type=require
+
+dir path=usr
+dir path=usr/gnu
+dir path=usr/gnu/bin
+dir path=usr/gnu/libexec
+dir path=usr/gnu/share
+dir path=usr/gnu/share/man
+dir path=usr/gnu/share/man/man1
+dir path=usr/gnu/share/man/man5
+dir path=var
+file path=usr/gnu/bin/locate
+file path=usr/gnu/bin/updatedb
+file path=usr/gnu/libexec/bigram
+file path=usr/gnu/libexec/code
+file path=usr/gnu/libexec/frcode
+file path=usr/gnu/share/man/man1/locate.1
+file path=usr/gnu/share/man/man1/updatedb.1
+file path=usr/gnu/share/man/man5/locatedb.5