diff options
-rw-r--r-- | .gitignore | 11 | ||||
-rwxr-xr-x | build | 9 | ||||
-rw-r--r-- | changelog | 5 | ||||
-rw-r--r-- | control | 8 | ||||
-rw-r--r-- | format | 1 | ||||
-rw-r--r-- | source.mk | 12 |
6 files changed, 46 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,9 @@ +#!/usr/bin/make -f + +# For 3.0.2: +source_sha256sum = 6b4ea61eadbbd9bec0ccb383c29d1f4496eacc121ef7acf37c7a24777805693e + +include ../source.mk + +nop: + @: diff --git a/changelog b/changelog new file mode 100644 index 0000000..e7c45af --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +cmake (3.0.2-1) trunk + + * Initial release. + + -- "P. J. McDermott" <pj@pehjota.net> Mon, 13 Oct 2014 12:28:08 -0400 @@ -0,0 +1,8 @@ +Maintainer: "P. J. McDermott" <pj@pehjota.net> +Build-Depends: opkhelper-3.0, + libcurl.4-dev, + libexpat.1-dev, + libz.1-dev, + libbz2-dev, + libarchive-dev, +Homepage: http://www.cmake.org/ @@ -0,0 +1 @@ +2.0 diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..63e6fa4 --- /dev/null +++ b/source.mk @@ -0,0 +1,12 @@ +upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz +source_version = $$(printf '%s\n' '$(OPK_SOURCE_VERSION)' | \ + sed 's/^\([0-9]*\.[0-9]\)\..*$$/\1/') +upstream_url = http://www.cmake.org/files/v$(source_version)/$(upstream_archive) +source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz + +$(source_archive): + wget -c $(upstream_url) + printf '$(source_sha256sum) $(upstream_archive)' | sha256sum -c - + mv '$(upstream_archive)' '$@' + +source: $(source_archive) |