aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-04-25 16:37:54 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-04-25 16:37:54 +0000
commite5519957e1ec062edb801049c937936b38ec8d97 (patch)
tree9e99097c6704dbcdf3c6a1c452233e51f19c86a0
parent9fd66b3f4d7053049ddc47604edb22db231a36ff (diff)
downloadsimplepkg-e5519957e1ec062edb801049c937936b38ec8d97.tar.gz
simplepkg-e5519957e1ec062edb801049c937936b38ec8d97.tar.bz2
see CHANGELOG for details
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@499 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/doc/CHANGELOG6
-rw-r--r--trunk/mkbuild/generic.mkSlackBuild6
-rwxr-xr-xtrunk/simplepkg.SlackBuild2
3 files changed, 12 insertions, 2 deletions
diff --git a/trunk/doc/CHANGELOG b/trunk/doc/CHANGELOG
index 929041c..523cd01 100644
--- a/trunk/doc/CHANGELOG
+++ b/trunk/doc/CHANGELOG
@@ -1,6 +1,12 @@
simplepkg changelog
===================
+0.6pre25
+========
+
+ - generic.mkSlackBuild:
+ - fixed gziped patch support at patch_source section
+
0.6pre24
========
diff --git a/trunk/mkbuild/generic.mkSlackBuild b/trunk/mkbuild/generic.mkSlackBuild
index 021374d..b8e4744 100644
--- a/trunk/mkbuild/generic.mkSlackBuild
+++ b/trunk/mkbuild/generic.mkSlackBuild
@@ -1,7 +1,7 @@
#################################################################
## Generic template for SlackBuilds
##
-## Version 0.9.8 - Luis ( luis at riseup d0t net)
+## Version 0.9.9 - Luis ( luis at riseup d0t net)
## Alves ( rudsonalves at yahoo d0t com d0t br )
#################################################################
#!/bin/bash
@@ -197,6 +197,10 @@ for patch in $patches; do
patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < "$CWD/$patch" || exit $ERROR_PATCH
elif [ -f "$CWD/patches/$patch" ]; then
patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < "$CWD/patches/$patch" || exit $ERROR_PATCH
+ elif [ -f "$CWD/$patch.gz" ]; then
+ gzip -dc "$CWD/$patch.gz" | patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] || exit $ERROR_PATCH
+ elif [ -f "$CWD/patches/$patch.gz" ]; then
+ gzip -dc "$CWD/patches/$patch.gz" | patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] || exit $ERROR_PATCH
fi
done
diff --git a/trunk/simplepkg.SlackBuild b/trunk/simplepkg.SlackBuild
index dee58e5..471cbb9 100755
--- a/trunk/simplepkg.SlackBuild
+++ b/trunk/simplepkg.SlackBuild
@@ -18,7 +18,7 @@
PACKAGE="simplepkg"
PACK_DIR="package-$PACKAGE"
BUILD=${BUILD:=1rha}
-VERSION="0.6pre24"
+VERSION="0.6pre25"
ARCH="noarch"
LIBEXEC="/usr/libexec/$PACKAGE"
BINDIR="/usr/bin"