summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-13 12:06:40 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-13 12:06:40 +0400
commit569076bbaa6146a7599fd662a35a30ec6015826d (patch)
tree793b680e42df296e83a3b3732e454fb9677e05d4
parentcd2f7b4ee7b23bb95bf9a2c30fdb37e7d9421447 (diff)
downloadcibs-pkgs-569076bbaa6146a7599fd662a35a30ec6015826d.tar.gz
Expat
-rw-r--r--expat/Makefile22
-rw-r--r--expat/expat.p5m16
-rw-r--r--expat/expat1.p5m11
-rw-r--r--expat/patches/302191_install_expat_config_h.diff23
-rw-r--r--expat/xmlwf.p5m8
5 files changed, 80 insertions, 0 deletions
diff --git a/expat/Makefile b/expat/Makefile
new file mode 100644
index 0000000..16c2f23
--- /dev/null
+++ b/expat/Makefile
@@ -0,0 +1,22 @@
+include /usr/share/cibs/rules/ips.mk
+include /usr/share/cibs/rules/patch.mk
+include /usr/share/cibs/rules/archive.mk
+include /usr/share/cibs/rules/32.mk
+include /usr/share/cibs/rules/64.mk
+include /usr/share/cibs/rules/autotools.mk
+
+summary := XML parsing C library
+license := X11
+license-file := COPYING
+
+
+name := expat
+home := http://expat.sourceforge.net/
+version := 2.1.0
+archive := $(name)-$(version).tar.gz
+download := http://downloads.sourceforge.net/project/$(name)/$(name)/$(version)/$(archive)
+checksum := \
+ md5:dd7dab7a5fea97d2a6a43f511449b7cd \
+ sha1:b08197d146930a5543a7b99e871cba3da614f6f0 \
+ sha256:823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86 \
+ size:562616
diff --git a/expat/expat.p5m b/expat/expat.p5m
new file mode 100644
index 0000000..b9a5132
--- /dev/null
+++ b/expat/expat.p5m
@@ -0,0 +1,16 @@
+set name=pkg.fmri value=pkg:/library/expat@$(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:/library/expat1@$(ips-version) type=require
+depend fmri=pkg:/library/expat1@$(ips-version) type=incorporate
+
+file path=usr/include/expat.h
+file path=usr/include/expat_config.h
+file path=usr/include/expat_external.h
+file path=usr/lib/pkgconfig/expat.pc
+link path=usr/lib/$(mach64)/libexpat.so target=libexpat.so.1
+link path=usr/lib/libexpat.so target=libexpat.so.1
diff --git a/expat/expat1.p5m b/expat/expat1.p5m
new file mode 100644
index 0000000..d95b389
--- /dev/null
+++ b/expat/expat1.p5m
@@ -0,0 +1,11 @@
+set name=pkg.fmri value=pkg:/library/expat1@$(ips-version)
+set name=pkg.summary value="$(summary), shared library"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+
+file path=usr/lib/$(mach64)/libexpat.so.1.6.0
+link path=usr/lib/$(mach64)/libexpat.so.1 target=libexpat.so.1.6.0
+file path=usr/lib/libexpat.so.1.6.0
+link path=usr/lib/libexpat.so.1 target=libexpat.so.1.6.0
diff --git a/expat/patches/302191_install_expat_config_h.diff b/expat/patches/302191_install_expat_config_h.diff
new file mode 100644
index 0000000..63527d0
--- /dev/null
+++ b/expat/patches/302191_install_expat_config_h.diff
@@ -0,0 +1,23 @@
+## 302191_install_expat_config_h.dpatch by Raphael Bossek
+## and Arno van Rangelrooij <arno@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: To get information about the expat library and how it was build the
+## DP: expat_config.h file is mandatory. Without this file other applications
+## DP: may fail to build. This is the case for the latest python-4suite packages
+## DP: where the expat_config.h is refered.
+## DP:
+## DP: <URL:http://bugs.debian.org/302191>
+
+diff -urNad expat-2.0.1~/Makefile.in expat-2.0.1/Makefile.in
+--- expat-2.0.1~/Makefile.in 2007-05-09 20:38:50.000000000 +0200
++++ expat-2.0.1/Makefile.in 2008-05-07 02:23:11.000000000 +0200
+@@ -41,7 +41,7 @@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs
+
+ MANFILE = $(srcdir)/doc/xmlwf.1
+-APIHEADER = $(srcdir)/lib/expat.h $(srcdir)/lib/expat_external.h
++APIHEADER = $(srcdir)/lib/expat.h $(srcdir)/lib/expat_external.h expat_config.h
+ LIBRARY = libexpat.la
+
+ DESTDIR = $(INSTALL_ROOT)
diff --git a/expat/xmlwf.p5m b/expat/xmlwf.p5m
new file mode 100644
index 0000000..e7e9541
--- /dev/null
+++ b/expat/xmlwf.p5m
@@ -0,0 +1,8 @@
+set name=pkg.fmri value=pkg:/text/xmlwf@$(ips-version)
+set name=pkg.summary value="Determines if an XML document is well-formed"
+set name=info.upstream-url value="$(home)"
+set name=info.source-url value="$(download)"
+
+license $(license-file) license="$(license)"
+file path=usr/share/man/man1/xmlwf.1
+file path=usr/bin/xmlwf