|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2008,2011,2013,2016 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2008,2011,2013,2016,2019 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-fltk} |
|
|
|
|
VERSION=${VERSION:-1.3.3} |
|
|
|
|
VERSION=${VERSION:-1.3.5} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-source.tar.gz} |
|
|
|
|
WGET=${WGET:-http://fltk.org/pub/fltk/$VERSION/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -75,7 +75,7 @@ if [ ! -r $ARCHIVE ]; then
|
|
|
|
|
wget -c -O $ARCHIVE.part "$WGET" |
|
|
|
|
mv $ARCHIVE.part $ARCHIVE |
|
|
|
|
fi |
|
|
|
|
sha1sum -c $ARCHIVE.sha1 |
|
|
|
|
sha256sum -c $ARCHIVE.sha256 |
|
|
|
|
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) |
|
|
|
|
|
|
|
|
|
# Compile |
|
|
|
@ -104,7 +104,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
|
|
|
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
|
install -m 644 \ |
|
|
|
|
ANNOUNCEMENT CHANGES COPYING CREDITS README \ |
|
|
|
|
ANNOUNCEMENT CHANGES* COPYING CREDITS README \ |
|
|
|
|
$PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|
|
|
|
|
|
# Copy slack-desc file |
|
|
|
|