From 25b0dd845af4fb8c2160ba574bead52a577285ee Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 20 Jun 2014 02:03:42 -0400 Subject: Initial commit. --- 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" 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" +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) -- cgit v0.9.1