summaryrefslogtreecommitdiff
path: root/network/filezilla/filezilla.SlackBuild
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@gmail.com>2010-05-12 17:43:17 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:43:17 +0200
commit9b90205b4a47fc9aac0274749f844ad663588825 (patch)
treee48e9d9b14d464baa338dbc82c9b2d97057c7ef8 /network/filezilla/filezilla.SlackBuild
parent461aac20aa093b44b416f259747443869eba2867 (diff)
downloadslackbuilds-9b90205b4a47fc9aac0274749f844ad663588825.tar.gz
network/filezilla: Updated for version 3.2.3.1
Diffstat (limited to 'network/filezilla/filezilla.SlackBuild')
-rw-r--r--network/filezilla/filezilla.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/network/filezilla/filezilla.SlackBuild b/network/filezilla/filezilla.SlackBuild
index ee09cc8281..53366a01bf 100644
--- a/network/filezilla/filezilla.SlackBuild
+++ b/network/filezilla/filezilla.SlackBuild
@@ -5,10 +5,11 @@
# Written by Grigorios Bouzakis (grbzks@gmail.com)
PRGNAM=filezilla
-VERSION=${VERSION:-3.1.5}
+VERSION=${VERSION:-3.2.3.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -46,17 +47,21 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --disable-manualupdatecheck
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-manualupdatecheck \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
-( cd $PKG/usr/man
+( cd $PKG/usr/man || exit 1
find . -type f -exec gzip -9 {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
@@ -68,6 +73,7 @@ rmdir $PKG/usr/share/filezilla/docs
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz