|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2012,2013,2016 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2012,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: |
|
|
@ -26,10 +26,10 @@ |
|
|
|
# <https://github.com/bootchk/resynthesizer>. |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-bootchk-resynthesizer} |
|
|
|
VERSION=${VERSION:-2.0} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-v$VERSION-0-gdeb9a4d.tar.gz} |
|
|
|
WGET=${WGET:-https://github.com/bootchk/resynthesizer/tarball/v2.0} |
|
|
|
NAMESRC=${NAMESRC:-resynthesizer} |
|
|
|
VERSION=${VERSION:-2.0.3} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
WGET=${WGET:-https://github.com/bootchk/resynthesizer/archive/v$VERSION.tar.gz} |
|
|
|
|
|
|
|
# Build infos |
|
|
|
NAMEPKG=${NAMEPKG:-gimp-resynthesizer} |
|
|
@ -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 |
|
|
@ -86,7 +86,6 @@ cd $NAME |
|
|
|
autoreconf -i |
|
|
|
CFLAGS=$CPUOPT \ |
|
|
|
CXXFLAGS=$CPUOPT \ |
|
|
|
LDFLAGS="-lgthread-2.0" \ |
|
|
|
./configure \ |
|
|
|
--prefix=/usr \ |
|
|
|
--libdir=/usr/lib$LIBDIRSUFFIX |
|
|
|