summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-11 20:05:10 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-11 20:57:23 (EDT)
commitf850a3a2a110c05fd7417a5e217b3d99613f3dc4 (patch)
treee8736e0d2443e831b83784b35ad288414e6af94b
Initial commit.
-rwxr-xr-xbuild17
-rw-r--r--changelog5
-rw-r--r--control4
-rw-r--r--copyright26
-rw-r--r--expat-2.1.0.tar.gzbin0 -> 562616 bytes
-rw-r--r--format1
-rw-r--r--libexpat.1-dbg.pkg/control9
-rw-r--r--libexpat.1-dbg.pkg/install1
-rw-r--r--libexpat.1-dev.pkg/control9
-rw-r--r--libexpat.1-dev.pkg/install4
-rw-r--r--libexpat.1.pkg/control6
-rw-r--r--libexpat.1.pkg/install1
-rw-r--r--xmlwf-doc.pkg/control6
-rw-r--r--xmlwf-doc.pkg/install1
-rw-r--r--xmlwf.pkg/control6
-rw-r--r--xmlwf.pkg/install1
16 files changed, 97 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..8732f1a
--- /dev/null
+++ b/build
@@ -0,0 +1,17 @@
+#! /usr/bin/make -f
+
+PKGS = xmlwf xmlwf-doc libexpat.1 libexpat.1-dev libexpat.1-dbg
+
+$(PKGS): expat.buildstamp
+
+.SILENT: expat.buildstamp
+expat.buildstamp:
+ cd src && \
+ ./configure --prefix=/usr && \
+ make && make DESTDIR=$$(pwd)/../dest install
+ oh-strip -gl /usr/lib/libexpat.so.1.6.0
+ oh-installfiles $(PKGS)
+ oh-installdocs libexpat.1
+ oh-gencontrol $(PKGS)
+ oh-buildopk $(PKGS)
+ touch expat.buildstamp
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..8cae380
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+expat (2.1.0-1)
+
+ * Initial release.
+
+ -- P. J. McDermott <pjm@nac.net> Wed, 11 Apr 2012 20:48:28 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..6677d02
--- /dev/null
+++ b/control
@@ -0,0 +1,4 @@
+Source: expat
+Version: 2.1.0-1
+Maintainer: "P. J. McDermott" <pjm@nac.net>
+Homepage: http://expat.sourceforge.net/
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..0100e03
--- /dev/null
+++ b/copyright
@@ -0,0 +1,26 @@
+Upstream Source
+===============
+
+Location: <http://sourceforge.net/projects/expat/files/expat/>
+
+Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
+ and Clark Cooper
+Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
+
+These files may be reproduced, distributed, modified, and otherwise dealt in
+under the terms of the Expat License.
+
+On this system, a copy of the Expat License may be found at
+<file:///usr/share/common-licenses/Expat>.
+
+
+Distribution Packaging
+======================
+
+Copyright (C) 2012 Patrick "P. J." McDermott
+
+These files may be reproduced, distributed, modified, and otherwise dealt in
+under the terms of the Expat License.
+
+On this system, a copy of the Expat License may be found at
+<file:///usr/share/common-licenses/Expat>.
diff --git a/expat-2.1.0.tar.gz b/expat-2.1.0.tar.gz
new file mode 100644
index 0000000..a791223
--- /dev/null
+++ b/expat-2.1.0.tar.gz
Binary files differ
diff --git a/format b/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/format
@@ -0,0 +1 @@
+1.0
diff --git a/libexpat.1-dbg.pkg/control b/libexpat.1-dbg.pkg/control
new file mode 100644
index 0000000..f51d2c0
--- /dev/null
+++ b/libexpat.1-dbg.pkg/control
@@ -0,0 +1,9 @@
+Package: libexpat.1-dbg
+Architecture: any
+Depends: libexpat.1 (= 2.1.0-1)
+Description: XML parser library - debugging symbols
+ Expat is an XML parser library written in C. It is a stream-oriented parser in
+ which an application registers handlers for things the parser might find in the
+ XML document (like start tags).
+ .
+ This package provides debugging symbols for Expat.
diff --git a/libexpat.1-dbg.pkg/install b/libexpat.1-dbg.pkg/install
new file mode 100644
index 0000000..1acc2ff
--- /dev/null
+++ b/libexpat.1-dbg.pkg/install
@@ -0,0 +1 @@
+/usr/lib/debug
diff --git a/libexpat.1-dev.pkg/control b/libexpat.1-dev.pkg/control
new file mode 100644
index 0000000..2b347cc
--- /dev/null
+++ b/libexpat.1-dev.pkg/control
@@ -0,0 +1,9 @@
+Package: libexpat.1-dev
+Architecture: any
+Depends: libexpat.1 (= 2.1.0-1)
+Description: XML parser library - development files
+ Expat is an XML parser library written in C. It is a stream-oriented parser in
+ which an application registers handlers for things the parser might find in the
+ XML document (like start tags).
+ .
+ This package provides development files for Expat.
diff --git a/libexpat.1-dev.pkg/install b/libexpat.1-dev.pkg/install
new file mode 100644
index 0000000..1e514a6
--- /dev/null
+++ b/libexpat.1-dev.pkg/install
@@ -0,0 +1,4 @@
+/usr/include
+/usr/lib/libexpat.a
+/usr/lib/libexpat.la
+/usr/lib/pkgconfig
diff --git a/libexpat.1.pkg/control b/libexpat.1.pkg/control
new file mode 100644
index 0000000..4946bb3
--- /dev/null
+++ b/libexpat.1.pkg/control
@@ -0,0 +1,6 @@
+Package: libexpat.1
+Architecture: any
+Description: XML parser library
+ Expat is an XML parser library written in C. It is a stream-oriented parser in
+ which an application registers handlers for things the parser might find in the
+ XML document (like start tags).
diff --git a/libexpat.1.pkg/install b/libexpat.1.pkg/install
new file mode 100644
index 0000000..446d52e
--- /dev/null
+++ b/libexpat.1.pkg/install
@@ -0,0 +1 @@
+/usr/lib/libexpat.so*
diff --git a/xmlwf-doc.pkg/control b/xmlwf-doc.pkg/control
new file mode 100644
index 0000000..813fef0
--- /dev/null
+++ b/xmlwf-doc.pkg/control
@@ -0,0 +1,6 @@
+Package: xmlwf-doc
+Architecture: any
+Depends: libexpat.1 (= 2.1.0-1), xmlwf
+Description: XML parser library - example application documentation files
+ This package provides the manual page for xmlwf, an example application of
+ Expat that determines if an XML document is well-formed.
diff --git a/xmlwf-doc.pkg/install b/xmlwf-doc.pkg/install
new file mode 100644
index 0000000..32190de
--- /dev/null
+++ b/xmlwf-doc.pkg/install
@@ -0,0 +1 @@
+/usr/share/man/man1
diff --git a/xmlwf.pkg/control b/xmlwf.pkg/control
new file mode 100644
index 0000000..ff1a6e9
--- /dev/null
+++ b/xmlwf.pkg/control
@@ -0,0 +1,6 @@
+Package: xmlwf
+Architecture: any
+Depends: libexpat.1 (= 2.1.0-1)
+Description: XML parser library - example application
+ This package provides an example application of Expat that determines if an XML
+ document is well-formed.
diff --git a/xmlwf.pkg/install b/xmlwf.pkg/install
new file mode 100644
index 0000000..415f082
--- /dev/null
+++ b/xmlwf.pkg/install
@@ -0,0 +1 @@
+/usr/bin