summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-31 16:39:58 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-31 16:39:58 +0400
commit5806b415e14a73d87a4d72a1f4567fd2d7e24c1a (patch)
treed4568730688bf1f5765540e00ca967571af44229
parentfbcb6172ef51ac8dc40486bed6006e912f561982 (diff)
downloadcibs-pkgs-5806b415e14a73d87a4d72a1f4567fd2d7e24c1a.tar.gz
Added gyp
-rw-r--r--gyp/Makefile41
-rw-r--r--gyp/gyp.p5m84
2 files changed, 125 insertions, 0 deletions
diff --git a/gyp/Makefile b/gyp/Makefile
new file mode 100644
index 0000000..8033e98
--- /dev/null
+++ b/gyp/Makefile
@@ -0,0 +1,41 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/copy.mk
+include /usr/share/cibs/rules/archive.mk
+include /usr/share/cibs/rules/noarch.mk
+
+# This must be rewritten to support
+# multiple pythons and SVN.
+
+summary := Generate Your Projects
+license := BSD
+license-file := LICENSE
+version := 0.1~svn1395
+ips-version := 0.1.0.1395
+name := gyp
+home := http://code.google.com/p/gyp/
+
+build-depends += \
+ pkg:/runtime/python
+
+archive := gyp_0.1~svn1395.orig.tar.gz
+download := http://ftp.de.debian.org/debian/pool/main/g/gyp/$(archive)
+checksum := \
+ md5:512dd02cdba611a94909812a086e1105 \
+ sha1:1a02f725ceb642186d6a62472226125610181175 \
+ sha256:51f116574a8226bfab2946fe054ba0103ac5d470e8e9309cc1333b9c5d6088d3 \
+ size:399588
+
+configure-%-stamp: pre-configure-stamp
+ touch $@
+
+build-%-stamp: configure-%-stamp
+ cd $(builddir) && python setup.py build
+ touch $@
+
+install-%-stamp: build-%-stamp
+ cd $(builddir) && python2.6 setup.py install --root="$(protodir)" \
+ --install-lib=/usr/lib/python2.6/vendor-packages
+ gsed -i 's,#!.*,#!/usr/bin/python2.6,' $(protodir)/usr/bin/gyp
+ touch $@
+
+
diff --git a/gyp/gyp.p5m b/gyp/gyp.p5m
new file mode 100644
index 0000000..37cb942
--- /dev/null
+++ b/gyp/gyp.p5m
@@ -0,0 +1,84 @@
+
+set name=pkg.fmri value=pkg:/developer/build/$(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/bin
+dir path=usr/lib
+dir path=usr/lib/python2.6
+dir path=usr/lib/python2.6/vendor-packages
+dir path=usr/lib/python2.6/vendor-packages/gyp
+dir path=usr/lib/python2.6/vendor-packages/gyp/generator
+file path=usr/bin/gyp
+file path=usr/lib/python2.6/vendor-packages/gyp-0.1-py2.6.egg-info
+file path=usr/lib/python2.6/vendor-packages/gyp/sun_tool.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSToolFile.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSNew.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/input.py
+file path=usr/lib/python2.6/vendor-packages/gyp/easy_xml_test.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSNew.py
+file path=usr/lib/python2.6/vendor-packages/gyp/ninja_syntax.py
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSUserFile.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/mac_tool.py
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSSettings.py
+file path=usr/lib/python2.6/vendor-packages/gyp/__init__.py
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSSettings_test.py
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSSettings_test.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/xcode_emulation.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/sun_tool.py
+file path=usr/lib/python2.6/vendor-packages/gyp/ninja_syntax.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSVersion.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/__init__.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/win_tool.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/xcodeproj_file.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/input.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSSettings.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/mac_tool.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/system_test.py
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSUserFile.py
+file path=usr/lib/python2.6/vendor-packages/gyp/common_test.py
+file path=usr/lib/python2.6/vendor-packages/gyp/common.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/__init__.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/msvs.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/scons.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/scons.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/dump_dependency_json.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/gypd.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/dump_dependency_json.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/gypsh.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/make.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/ninja.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/ninja.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/gypsh.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/msvs_test.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/eclipse.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/xcode.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/msvs.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/gypd.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/make.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/eclipse.py
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/__init__.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/xcode.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/generator/msvs_test.py
+file path=usr/lib/python2.6/vendor-packages/gyp/system_test.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/msvs_emulation.py
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSVersion.py
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSToolFile.py
+file path=usr/lib/python2.6/vendor-packages/gyp/easy_xml.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/common.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/SCons.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/easy_xml.py
+file path=usr/lib/python2.6/vendor-packages/gyp/easy_xml_test.py
+file path=usr/lib/python2.6/vendor-packages/gyp/SCons.py
+file path=usr/lib/python2.6/vendor-packages/gyp/common_test.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/xml_fix.py
+file path=usr/lib/python2.6/vendor-packages/gyp/win_tool.py
+file path=usr/lib/python2.6/vendor-packages/gyp/xcode_emulation.py
+file path=usr/lib/python2.6/vendor-packages/gyp/xcodeproj_file.py
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSProject.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/xml_fix.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/msvs_emulation.pyc
+file path=usr/lib/python2.6/vendor-packages/gyp/MSVSProject.py