|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2017 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2017,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:-units} |
|
|
|
VERSION=${VERSION:-2.14} |
|
|
|
VERSION=${VERSION:-2.19} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
WGET=${WGET:-http://ftp.gnu.org/gnu/units/$ARCHIVE} |
|
|
|
|
|
|
@ -90,6 +90,7 @@ CXXFLAGS=$CPUOPT \ |
|
|
|
--prefix=/usr \ |
|
|
|
--mandir=/usr/man \ |
|
|
|
--infodir=/usr/info \ |
|
|
|
--sharedstatedir=/var/lib \ |
|
|
|
--build=x$ARCH-slackware-linux |
|
|
|
make -j $JOBS |
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|