summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild43
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--copyright10
-rw-r--r--format1
-rw-r--r--opkhelper-doc.pkg/control9
-rw-r--r--opkhelper-doc.pkg/install1
-rw-r--r--opkhelper.pkg/control8
-rw-r--r--opkhelper.pkg/install1
-rw-r--r--src/.dummy0
10 files changed, 81 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..fcda0d5
--- /dev/null
+++ b/build
@@ -0,0 +1,43 @@
+#! /usr/bin/make -f
+
+VER = 1.0
+PKGS = opkhelper opkhelper-doc
+BIN_DATA = /usr/bin/oh-applypatches \
+ /usr/bin/oh-buildopk \
+ /usr/bin/oh-checkbuilddeps \
+ /usr/bin/oh-copyconfig \
+ /usr/bin/oh-gencontrol \
+ /usr/bin/oh-installdocs \
+ /usr/bin/oh-installfiles \
+ /usr/bin/oh-strip \
+ /usr/bin/opkbuild
+MAN_DATA = /usr/share/man/man1/oh-applypatches.1 \
+ /usr/share/man/man1/oh-buildopk.1 \
+ /usr/share/man/man1/oh-checkbuilddeps.1 \
+ /usr/share/man/man1/oh-copyconfig.1 \
+ /usr/share/man/man1/oh-gencontrol.1 \
+ /usr/share/man/man1/oh-installdocs.1 \
+ /usr/share/man/man1/oh-installfiles.1 \
+ /usr/share/man/man1/oh-strip.1 \
+ /usr/share/man/man1/opkbuild.1 \
+ /usr/share/man/man7/opkhelper.7
+
+$(PKGS): opkhelper.buildstamp
+
+.SILENT: opkhelper.buildstamp
+opkhelper.buildstamp:
+ for file in $(BIN_DATA); do \
+ mkdir -p "dest/$${file%/*}"; \
+ basename="$${file##*/}"; \
+ ln -s "$${basename}-$(VER)" "dest/$${file}"; \
+ done
+ for file in $(MAN_DATA); do \
+ mkdir -p "dest/$${file%/*}"; \
+ basename="$${file##*/}"; \
+ ln -s "$${basename%.*}-$(VER).$${basename##*.}" "dest/$${file}"; \
+ done
+ oh-installfiles $(PKGS)
+ oh-installdocs opkhelper
+ oh-gencontrol $(PKGS)
+ oh-buildopk $(PKGS)
+ touch $@
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..a51121a
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+opkhelper-default (1.0)
+
+ * Initial release.
+
+ -- P. J. McDermott <pjm@nac.net> Thu, 21 Jun 2012 13:14:00 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..4d4c754
--- /dev/null
+++ b/control
@@ -0,0 +1,3 @@
+Source: opkhelper-default
+Version: 1.0
+Maintainer: "P. J. McDermott" <pjm@nac.net>
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..dbbbdb7
--- /dev/null
+++ b/copyright
@@ -0,0 +1,10 @@
+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/MIT License.
+
+On this system, a copy of the Expat License may be found at
+<file:///usr/share/common-licenses/Expat>.
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/opkhelper-doc.pkg/control b/opkhelper-doc.pkg/control
new file mode 100644
index 0000000..a345d3b
--- /dev/null
+++ b/opkhelper-doc.pkg/control
@@ -0,0 +1,9 @@
+Package: opkhelper-doc
+Architecture: all
+Depends: opkhelper (>= 1.0-1), opkhelper-1.0-doc (>= 1.0.0-1)
+Description: opkg build helper tools - documentation
+ A set of programs to assist in building binary packages installable by the
+ lightweight package manager "opkg".
+ .
+ This package depends on the default version of the opkg build helper tools
+ documentation.
diff --git a/opkhelper-doc.pkg/install b/opkhelper-doc.pkg/install
new file mode 100644
index 0000000..0ddb634
--- /dev/null
+++ b/opkhelper-doc.pkg/install
@@ -0,0 +1 @@
+/usr/share/man
diff --git a/opkhelper.pkg/control b/opkhelper.pkg/control
new file mode 100644
index 0000000..01b2474
--- /dev/null
+++ b/opkhelper.pkg/control
@@ -0,0 +1,8 @@
+Package: opkhelper
+Architecture: all
+Depends: opkhelper-1.0 (>= 1.0.0-1)
+Description: opkg build helper tools
+ A set of programs to assist in building binary packages installable by the
+ lightweight package manager "opkg".
+ .
+ This package depends on the default version of the opkg build helper tools.
diff --git a/opkhelper.pkg/install b/opkhelper.pkg/install
new file mode 100644
index 0000000..415f082
--- /dev/null
+++ b/opkhelper.pkg/install
@@ -0,0 +1 @@
+/usr/bin
diff --git a/src/.dummy b/src/.dummy
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/.dummy