summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-02-18 17:37:08 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-02-18 17:37:08 +0400
commit6987c942a11bab3b146da8221f4e2c42373ae596 (patch)
tree6286e1235a22368ad43ce3d0fcf5c270e8c2361d
parentbe28bbbafb85efc2cffc58b51090952432e5fb64 (diff)
downloadcibs-pkgs-6987c942a11bab3b146da8221f4e2c42373ae596.tar.gz
Allow building debs
-rw-r--r--c-ares/Makefile4
-rw-r--r--gyp/Makefile5
-rw-r--r--libev/Makefile3
-rw-r--r--libv8/Makefile1
-rw-r--r--libv8/libv8.p5m12
-rw-r--r--zlib/Makefile3
6 files changed, 17 insertions, 11 deletions
diff --git a/c-ares/Makefile b/c-ares/Makefile
index 77cdbb4..b7d42af 100644
--- a/c-ares/Makefile
+++ b/c-ares/Makefile
@@ -1,4 +1,6 @@
-include /usr/share/cibs/rules/ips.mk
+package ?= ips
+
+include /usr/share/cibs/rules/$(package).mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/autotools.mk
include /usr/share/cibs/rules/64.mk
diff --git a/gyp/Makefile b/gyp/Makefile
index 8033e98..db44f50 100644
--- a/gyp/Makefile
+++ b/gyp/Makefile
@@ -1,4 +1,5 @@
-include /usr/share/cibs/rules/ips.mk
+package ?= ips
+include /usr/share/cibs/rules/$(package).mk
include /usr/share/cibs/rules/copy.mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/noarch.mk
@@ -33,7 +34,7 @@ build-%-stamp: configure-%-stamp
touch $@
install-%-stamp: build-%-stamp
- cd $(builddir) && python2.6 setup.py install --root="$(protodir)" \
+ cd $(builddir) && python2.6 setup.py install --root="$(topdir)/$(protodir)" \
--install-lib=/usr/lib/python2.6/vendor-packages
gsed -i 's,#!.*,#!/usr/bin/python2.6,' $(protodir)/usr/bin/gyp
touch $@
diff --git a/libev/Makefile b/libev/Makefile
index e4553d7..0d8ec72 100644
--- a/libev/Makefile
+++ b/libev/Makefile
@@ -1,4 +1,5 @@
-include /usr/share/cibs/rules/ips.mk
+package ?= ips
+include /usr/share/cibs/rules/$(package).mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/autotools.mk
include /usr/share/cibs/rules/64.mk
diff --git a/libv8/Makefile b/libv8/Makefile
index 9ecbde7..3b9e6ae 100644
--- a/libv8/Makefile
+++ b/libv8/Makefile
@@ -59,6 +59,7 @@ install-%-stamp: build-%-stamp
mkdir -p $(protodir)/$(libdir)
mkdir -p $(protodir)/usr/include
cp $(v8out) $(protodir)/$(libdir)/
+ cp $(builddir)/include/*.h $(protodir)/usr/include/
touch $@
checksum-v8-3.14.5.3.tar.bz2 := \
diff --git a/libv8/libv8.p5m b/libv8/libv8.p5m
index b41bd39..acd1f9c 100644
--- a/libv8/libv8.p5m
+++ b/libv8/libv8.p5m
@@ -10,9 +10,9 @@ depend fmri=pkg:/library/$(name)-$(so-version)@$(ips-version) type=incorporate
link path=usr/lib/$(mach64)/libv8.so \
target=$(libSoname)
-file include/v8-debug.h path=usr/include/v8-debug.h
-file include/v8-preparser.h path=usr/include/v8-preparser.h
-file include/v8-profiler.h path=usr/include/v8-profiler.h
-file include/v8-testing.h path=usr/include/v8-testing.h
-file include/v8.h path=usr/include/v8.h
-file include/v8stdint.h path=usr/include/v8stdint.h
+file path=usr/include/v8-debug.h
+file path=usr/include/v8-preparser.h
+file path=usr/include/v8-profiler.h
+file path=usr/include/v8-testing.h
+file path=usr/include/v8.h
+file path=usr/include/v8stdint.h
diff --git a/zlib/Makefile b/zlib/Makefile
index 8f55697..77a89a5 100644
--- a/zlib/Makefile
+++ b/zlib/Makefile
@@ -1,4 +1,5 @@
-include /usr/share/cibs/rules/ips.mk
+package ?= ips
+include /usr/share/cibs/rules/$(package).mk
include /usr/share/cibs/rules/archive.mk
include /usr/share/cibs/rules/32.mk
include /usr/share/cibs/rules/64.mk