summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-20 02:03:42 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-20 02:03:42 (EDT)
commit25b0dd845af4fb8c2160ba574bead52a577285ee (patch)
treedd52b15495576f31257fbee543dff8c833edbca3
Initial commit.HEADmaster
-rw-r--r--.gitignore11
-rwxr-xr-xbuild22
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--format1
-rw-r--r--source.mk14
6 files changed, 56 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..afc7cbf
--- /dev/null
+++ b/build
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+upstream_source_dir = opus
+
+include ../source.mk
+
+nop:
+ @:
+
+build:
+ oh-autoconfigure
+ oh-autobuild
+ if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
+ oh-autotest; \
+ fi
+ touch $@
+
+install: build
+ oh-autoinstall
+ oh-fixperms
+ oh-strip
+ oh-installfiles
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..82d1738
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+opus (1.1-1) trunk
+
+ * Initial release.
+
+ -- "P. J. McDermott" <pj@pehjota.net> Fri, 20 Jun 2014 02:01:43 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..715c478
--- /dev/null
+++ b/control
@@ -0,0 +1,3 @@
+Maintainer: "P. J. McDermott" <pj@pehjota.net>
+Build-Depends: opkhelper-3.0
+Homepage: http://opus-codec.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..8241215
--- /dev/null
+++ b/source.mk
@@ -0,0 +1,14 @@
+upstream_base_url = http://downloads.xiph.org/releases/$(upstream_source_dir)
+upstream_archive = $(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz
+upstream_url = $(upstream_base_url)/$(upstream_archive)
+upstream_sum = $(upstream_base_url)/SHA256SUMS.txt
+source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz
+
+$(source_archive):
+ wget -c '$(upstream_url)'
+ wget -O - '$(upstream_sum)' | grep -F "$(upstream_archive)" >SHA256SUMS
+ sha256sum -c SHA256SUMS
+ rm -f SHA256SUMS
+ mv '$(upstream_archive)' '$(source_archive)'
+
+source: $(source_archive)