diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-14 08:30:40 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-13 20:17:26 -0600 |
commit | 758de6e798af9043b042e6491148eb94f0767638 (patch) | |
tree | a4a8aed01430be8ff9a8629c59ce4c6f33b75e60 /network/fdm/fdm.SlackBuild | |
parent | eb065b59450a20ee7a5929d2f67c085008346775 (diff) | |
download | slackbuilds-758de6e798af9043b042e6491148eb94f0767638.tar.gz |
network/fdm: Updated for version 1.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/fdm/fdm.SlackBuild')
-rw-r--r-- | network/fdm/fdm.SlackBuild | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/network/fdm/fdm.SlackBuild b/network/fdm/fdm.SlackBuild index 86a7b1d76f..988d684182 100644 --- a/network/fdm/fdm.SlackBuild +++ b/network/fdm/fdm.SlackBuild @@ -21,8 +21,8 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fdm -VERSION=${VERSION:-1.6} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.7} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -52,7 +52,7 @@ else LIBDIRSUFFIX="" fi -DOCS="CHANGES MANUAL README TODO examples" +DOCS="CHANGES README TODO examples" set -e @@ -63,16 +63,24 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -patch -p1 < $CWD/GNUmakefile.patch - -make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" LDFLAGS="-lcrypto" -make install DESTDIR=$PKG +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux +make PREFIX=/usr MANDIR=/usr/man +make PREFIX=/usr MANDIR=/usr/man install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |