aboutsummaryrefslogtreecommitdiff
path: root/libraries/fltk2
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2010-04-08 19:39:31 -0500
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-15 10:25:23 +0200
commit737477bfb58c3a96a832ceb523700ab409babd8c (patch)
tree82004f6c0a126b5292f4fbf9141d9e48e5938ecb /libraries/fltk2
parentf95a329fa797e6032894e50ad57f81f5051f2028 (diff)
libraries/fltk2: Fixed download link.
Also minor tweaks to the build script...
Diffstat (limited to 'libraries/fltk2')
-rw-r--r--libraries/fltk2/fltk2.SlackBuild14
-rw-r--r--libraries/fltk2/fltk2.info4
2 files changed, 7 insertions, 11 deletions
diff --git a/libraries/fltk2/fltk2.SlackBuild b/libraries/fltk2/fltk2.SlackBuild
index 1b75ed82c8b0..b943ddea0c67 100644
--- a/libraries/fltk2/fltk2.SlackBuild
+++ b/libraries/fltk2/fltk2.SlackBuild
@@ -2,12 +2,12 @@
# Slackware build script for fltk, version 2
+# The script is based on the build script for FLTK, version 1, by LukenShiro.
+# The script has been fixed by the SlackBuilds.org team.
+
# Copyright 2009-2010 Mikhail Zotov <mikhail dot ru@gmail dot com>
# All rights reserved.
#
-# The script is based on the build script for FLTK, version 1, by LukenShiro.
-# The script has been fixed by Robby Workman.
-#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
@@ -79,12 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
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
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# No manpages are installed
rm -rf $PKG/usr/man
diff --git a/libraries/fltk2/fltk2.info b/libraries/fltk2/fltk2.info
index b2a4677bf929..2b0158dbb0ea 100644
--- a/libraries/fltk2/fltk2.info
+++ b/libraries/fltk2/fltk2.info
@@ -1,10 +1,10 @@
PRGNAM="fltk2"
VERSION="2.0.x-r6970"
HOMEPAGE="http://www.fltk.org/"
-DOWNLOAD="http://ftp2.easysw.com/pub/fltk/snapshots/fltk-2.0.x-r6970.tar.bz2"
+DOWNLOAD="http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/snapshots/fltk-2.0.x-r6970.tar.bz2"
MD5SUM="f78976d0ba1a5c845e14f4df96d580a0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Mikhail Zotov"
EMAIL="mikhail dot ru at gmail dot com"
-APPROVED="dsomero"
+APPROVED="dsomero,rworkman"