diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-08-07 18:55:54 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 15:36:49 -0500 |
commit | 43681ffdd2cc0d077ec35a4f346d1d26c4c05014 (patch) | |
tree | accc1742f7af4309852963037d0304ef9927eeb3 /network/mldonkey/mldonkey.SlackBuild | |
parent | fca081d062b457421853f495d9042465ce7d60f3 (diff) |
network/mldonkey: Updated for version 3.1.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/mldonkey/mldonkey.SlackBuild')
-rw-r--r-- | network/mldonkey/mldonkey.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/network/mldonkey/mldonkey.SlackBuild b/network/mldonkey/mldonkey.SlackBuild index 65ad47be5c529..b1e1040bfd2c4 100644 --- a/network/mldonkey/mldonkey.SlackBuild +++ b/network/mldonkey/mldonkey.SlackBuild @@ -26,7 +26,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mldonkey -VERSION=3.0.7 +VERSION=${VERSION:-3.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,7 +65,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -77,11 +77,14 @@ find . \ # OCaml 3.10/3.11 don't work with gtk1, so ingnore the gtk1 choses and let # configure to choose a proper lib. if [ "$GUIOPT" = 'yes' ]; then - GUIOPT='--enable-gui' + GUIOPT='--enable-gui=newgui2' else GUIOPT='--disable-gui' fi +# Change the O6 to something saner +sed -i "s/O6/O2/" config/Makefile.in + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |