summaryrefslogtreecommitdiff
path: root/libraries/poco/poco.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-10 00:40:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-10 00:40:07 +0700
commita3a16f0321d7f74352e13cef2cd802c4cf8641cc (patch)
tree26376db17fced25d73de7d40a107c43a63d32fe6 /libraries/poco/poco.SlackBuild
parenta5125e540daad7fd3136cb6b2f6ac9093c89b026 (diff)
downloadslackbuilds-a3a16f0321d7f74352e13cef2cd802c4cf8641cc.tar.gz
libraries/poco: Updated for version 1.4.6p3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/poco/poco.SlackBuild')
-rw-r--r--libraries/poco/poco.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/poco/poco.SlackBuild b/libraries/poco/poco.SlackBuild
index 41f1300966..457da28377 100644
--- a/libraries/poco/poco.SlackBuild
+++ b/libraries/poco/poco.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=poco
-VERSION=${VERSION:-1.4.6p2}
-SRCVERSION=$VERSION-all
+SRCVER=${SRCVER:-1.4.6p3-all}
+VERSION=$(echo $SRCVER | cut -c1-7)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \