summaryrefslogtreecommitdiff
path: root/network/filezilla/filezilla.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2011-09-05 21:47:52 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-09-05 23:03:06 -0500
commit8f93fdae2f057baffd55fff217505ddc5f8e650b (patch)
treecfc47a76b6b2cd816ae8789b6e42f633c172dfc6 /network/filezilla/filezilla.SlackBuild
parent74fdf187668b13b6d3d061aa3647981ff5203218 (diff)
downloadslackbuilds-8f93fdae2f057baffd55fff217505ddc5f8e650b.tar.gz
network/filezilla: Updated for version 3.5.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/filezilla/filezilla.SlackBuild')
-rw-r--r--network/filezilla/filezilla.SlackBuild22
1 files changed, 6 insertions, 16 deletions
diff --git a/network/filezilla/filezilla.SlackBuild b/network/filezilla/filezilla.SlackBuild
index fa48f4be09..78e00f3782 100644
--- a/network/filezilla/filezilla.SlackBuild
+++ b/network/filezilla/filezilla.SlackBuild
@@ -1,5 +1,4 @@
#!/bin/sh
-
# Slackware build script for filezilla
# Copyright 2007-2009 Grigorios Bouzakis <grbzks@xsmail.com>
@@ -22,7 +21,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=filezilla
-VERSION=${VERSION:-3.5.0}
+VERSION=${VERSION:-3.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +61,6 @@ else
tinyxml="--with-tinyxml=builtin"
fi
-
set -e
rm -rf $PKG
@@ -71,7 +69,6 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/FileZilla_${VERSION}_src.tar.bz2
cd $PRGNAM-$VERSION
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -79,15 +76,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix a little typo
-# This is only needed for 3.5.0
-# Future version will have this included, so no longer needed for 3.5.1+
-patch -p2 < $CWD/configure.patch
-
-# Re-Run autogen.sh after applying the patch
-./autogen.sh
-
-# Added LDFLAGS to make it compileable, thanks to LQ
+# Added LDFLAGS to make it compileable, thanks to LQ
# http://www.linuxquestions.org/questions/slackware-14/libsndfile-from-slackbuilds-org-fails-to-build-695456/
LDFLAGS="-ldl" \
CFLAGS="$SLKCFLAGS" \
@@ -103,8 +92,8 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-manualupdatecheck \
--disable-autoupdatecheck \
--enable-locales \
- --build=$ARCH-slackware-linux \
- $tinyxml
+ $tinyxml \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -119,7 +108,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/share/filezilla/docs/fzdefaults.xml.example $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share/filezilla/docs # remove empty docdir
+# remove empty docdir
+rmdir $PKG/usr/share/filezilla/docs
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc