aboutsummaryrefslogtreecommitdiff
path: root/network/barnyard2/barnyard2.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-12 22:21:10 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-12 11:27:31 -0600
commite79150525b6738d418f43784f722df565cdcd5f4 (patch)
tree3348be596bdc2de4a6f7f9dc754b1e9a202ca1e0 /network/barnyard2/barnyard2.SlackBuild
parent235f8e9559e0098883c785511ae07df4454dac7e (diff)
network/barnyard2: Updated for version 1.13.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/barnyard2/barnyard2.SlackBuild')
-rw-r--r--network/barnyard2/barnyard2.SlackBuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/network/barnyard2/barnyard2.SlackBuild b/network/barnyard2/barnyard2.SlackBuild
index 87c0e1f3e64bc..3b3f96a7115e0 100644
--- a/network/barnyard2/barnyard2.SlackBuild
+++ b/network/barnyard2/barnyard2.SlackBuild
@@ -26,8 +26,8 @@
# Revision date 2012/09/15
PRGNAM=barnyard2
-VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.13}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,17 +63,18 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-2-$VERSION.tar.gz
+cd $PRGNAM-2-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+./autogen.sh
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \