summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-13 12:33:24 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-13 12:34:25 (EDT)
commit8e260953b92b235eb608a15840e9cbb1ca3acbbc (patch)
treeaa12e935c69f235e5147e67fc61c44c6921a822e
Initial commit
-rw-r--r--.gitignore11
-rwxr-xr-xbuild9
-rw-r--r--changelog5
-rw-r--r--control8
-rw-r--r--format1
-rw-r--r--source.mk12
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/
diff --git a/build b/build
new file mode 100755
index 0000000..57a2976
--- /dev/null
+++ b/build
@@ -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
diff --git a/control b/control
new file mode 100644
index 0000000..c88b717
--- /dev/null
+++ b/control
@@ -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/
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..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)