aboutsummaryrefslogtreecommitdiff
path: root/network/filezilla/filezilla.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2011-06-20 11:31:13 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:59:28 -0300
commitf196aa46e5260bc84e097c35986e5db430e6a2f6 (patch)
tree7290ff5610610437a3ff4d7213d283eba928730d /network/filezilla/filezilla.SlackBuild
parentd8015f6862da4ea645d58776fa1244ada09c5411 (diff)
network/filezilla: Updated for version 3.5.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/filezilla/filezilla.SlackBuild')
-rw-r--r--network/filezilla/filezilla.SlackBuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/network/filezilla/filezilla.SlackBuild b/network/filezilla/filezilla.SlackBuild
index 065070fba60ec..fa48f4be09f0d 100644
--- a/network/filezilla/filezilla.SlackBuild
+++ b/network/filezilla/filezilla.SlackBuild
@@ -22,7 +22,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=filezilla
-VERSION=${VERSION:-3.4.0}
+VERSION=${VERSION:-3.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,7 @@ 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 \) \
@@ -78,6 +79,17 @@ 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
+# http://www.linuxquestions.org/questions/slackware-14/libsndfile-from-slackbuilds-org-fails-to-build-695456/
+LDFLAGS="-ldl" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \