diff options
-rw-r--r-- | .gitignore | 11 | ||||
-rwxr-xr-x | build | 6 | ||||
-rw-r--r-- | changelog | 5 | ||||
-rw-r--r-- | control | 3 | ||||
-rw-r--r-- | format | 1 | ||||
-rw-r--r-- | source.mk | 13 |
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/ @@ -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 @@ -0,0 +1,3 @@ +Maintainer: "P. J. McDermott" <pj@pehjota.net> +Build-Depends: opkhelper-3.0 +Homepage: http://www.bzip.org/ @@ -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) |