The following commit has been merged in the master branch: commit 3c2053a120327240aa511a292385c669e3fa7353 Author: Andres Mejia <mcita...@gmail.com> Date: Wed Nov 25 14:47:10 2009 -0500
Updating openal-soft-get-orig-source for new upstream release. diff --git a/debian/openal-soft-get-orig-source b/debian/openal-soft-get-orig-source index da58941..da839ae 100755 --- a/debian/openal-soft-get-orig-source +++ b/debian/openal-soft-get-orig-source @@ -4,25 +4,23 @@ # generate it into an orig source tarball for Debian. # Common variables used to ease maintenance of this script -OPENAL_SOFT_TARBALL="openal-soft-1.9.563.tar.bz2" -OPENAL_SOFT_TARBALL_CHECKSUM="7584387f321cde91e3a4cfacf89bcc5f" -OPENAL_SOFT_VERSION="1.9.563" +OPENAL_SOFT_TARBALL="openal-soft-1.10.622.tar.bz2" +OPENAL_SOFT_TARBALL_CHECKSUM="d6324d0e7a4fd799e48e720c023fe1c0" +OPENAL_SOFT_VERSION="1.10.622" +OPENAL_SOFT_ORIG_TARBALL="$(echo "openal-soft-$OPENAL_SOFT_VERSION.tar.bz2" | \ + sed -e s/soft-$OPENAL_SOFT_VERSION/soft_1.10.622/ | \ + sed -e s/\.tar\.bz2/.orig.tar.bz2/)" USAGE="\n\ This script is used to generate the orig tarball used in building\n\ Debian packages for openal-soft-$OPENAL_SOFT_VERSION.\n\ Usage: openal-soft-get-orig-source [OPTION]\n\ \n\ - -h, --help Display this help message.\n\ - --remove-upstream-tarball Remove the upstream source tarball.\n" + -h, --help Display this help message.\n" while [ "$#" -gt "0" ] do case "$1" in - --remove-upstream-tarball) - REMOVE_UPSTREAM_TARBALL=1 - shift - ;; -h|--help|*) echo "${USAGE}" exit 1 @@ -45,18 +43,8 @@ make_current_tarball() { echo "Checksum verified. Checksum is $COMPUTED_CHECKSUM." fi - echo -n "Extracting tarball..." - tar -xjf $OPENAL_SOFT_TARBALL - echo "done." - echo -n "Repacking as openal-soft_$OPENAL_SOFT_VERSION.orig.tar.gz..." - tar -czf openal-soft_$OPENAL_SOFT_VERSION.orig.tar.gz \ - openal-soft-$OPENAL_SOFT_VERSION/ - echo "done." - if [ $REMOVE_UPSTREAM_TARBALL ]; then - echo -n "Removing upstream tarball..." - rm $OPENAL_SOFT_TARBALL - echo "done." - fi + echo "Renaming $OPENAL_SOFT_TARBALL to $OPENAL_SOFT_ORIG_TARBALL" + mv $OPENAL_SOFT_TARBALL $OPENAL_SOFT_ORIG_TARBALL } make_current_tarball diff --git a/debian/rules b/debian/rules index 89643f7..3fb3095 100755 --- a/debian/rules +++ b/debian/rules @@ -42,4 +42,4 @@ override_dh_strip: dh_strip --dbg-package=libopenal1-dbg get-orig-source: - $(dir $_)openal-soft-get-orig-source --remove-upstream-tarball + $(dir $_)openal-soft-get-orig-source -- Packaging for openal-soft _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits