libraries/fltk2: Fixed download link.

Also minor tweaks to the build script...
This commit is contained in:
Robby Workman 2010-04-08 19:39:31 -05:00 committed by Heinz Wiesinger
parent f95a329fa7
commit 737477bfb5
2 changed files with 7 additions and 11 deletions

View File

@ -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

View File

@ -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"