summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-10 18:34:48 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-10 18:34:48 (EDT)
commit642ffaa071ef83b6e5a162cd01ca03e1d9618e43 (patch)
treed863ce4a3e454c59711244c7c7b95774c6754985
Initial commit.
-rw-r--r--.gitignore11
-rwxr-xr-xbuild6
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--format1
-rw-r--r--source.mk13
6 files changed, 39 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..213a9bf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+# Swap and backup files
+.*.sw*
+.sw*
+*~
+Session.vim
+
+# Source archives
+*-*.orig.tar.*
+
+# Work area
+tmp/
diff --git a/build b/build
new file mode 100755
index 0000000..2a40656
--- /dev/null
+++ b/build
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+nop:
+ @:
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..2bb7808
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+bzip2 (1.0.6-1) trunk
+
+ * Initial release.
+
+ -- "P. J. McDermott" <pj@pehjota.net> Tue, 10 Jun 2014 18:22:27 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..d5f85af
--- /dev/null
+++ b/control
@@ -0,0 +1,3 @@
+Maintainer: "P. J. McDermott" <pj@pehjota.net>
+Build-Depends: opkhelper-3.0
+Homepage: http://www.bzip.org/
diff --git a/format b/format
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/format
@@ -0,0 +1 @@
+2.0
diff --git a/source.mk b/source.mk
new file mode 100644
index 0000000..7966034
--- /dev/null
+++ b/source.mk
@@ -0,0 +1,13 @@
+upstream_base_url = http://www.bzip.org/$(OPK_SOURCE_VERSION_UPSTREAM)
+upstream_url = $(upstream_base_url)/$(upstream_archive)
+upstream_archive = bzip2-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz
+source_archive = ../bzip2-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz
+# For 1.0.6:
+md5sum = 00b516f4704d4a7cb50a1d97e6e8e15b
+
+$(source_archive):
+ wget -c '$(upstream_url)'
+ printf '$(md5sum) $(upstream_archive)' | md5sum -c -
+ mv '$(upstream_archive)' '$(source_archive)'
+
+source: $(source_archive)