|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2014,2015 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2014,2015,2016 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -23,13 +23,15 @@
|
|
|
|
|
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org> |
|
|
|
|
# |
|
|
|
|
# Latest scute sourcecode is available at: <http://www.scute.org/>. |
|
|
|
|
# |
|
|
|
|
# Depends: d/automake115, l/libgpg-error |
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-scute} |
|
|
|
|
VERSION=${VERSION:-1.5.0} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2} |
|
|
|
|
WGET=${WGET:-ftp://ftp.gnupg.org/gcrypt/scute/$ARCHIVE} |
|
|
|
|
GITREV=${GITREV:-be53b88} |
|
|
|
|
GITREV=${GITREV:-2d8d4f0} |
|
|
|
|
|
|
|
|
|
# Build infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-scute} |
|
|
|
@ -77,7 +79,7 @@ if [ ! -r $ARCHIVE ]; then
|
|
|
|
|
git clone git://git.gnupg.org/scute.git |
|
|
|
|
cd scute |
|
|
|
|
git checkout $GITREV |
|
|
|
|
./autogen.sh --force |
|
|
|
|
AUTOMAKE_SUFFIX=-1.15 ./autogen.sh --force |
|
|
|
|
./configure --enable-maintainer-mode |
|
|
|
|
make -j $JOBS |
|
|
|
|
make dist |
|
|
|
|