aboutsummaryrefslogtreecommitdiff
path: root/system/zerofree/zerofree.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/zerofree/zerofree.SlackBuild')
-rw-r--r--system/zerofree/zerofree.SlackBuild24
1 files changed, 21 insertions, 3 deletions
diff --git a/system/zerofree/zerofree.SlackBuild b/system/zerofree/zerofree.SlackBuild
index 533798aba0db6..061cd58ad5349 100644
--- a/system/zerofree/zerofree.SlackBuild
+++ b/system/zerofree/zerofree.SlackBuild
@@ -2,10 +2,28 @@
# Slackware build script for zerofree
-# Written by Roberto Neri <rneri@libero.it>
+# Copyright 2011-2013 Roberto Neri, Palermo, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zerofree
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,7 +70,7 @@ find . \
-exec chmod 644 {} \;
# No ./configure or "make install" provided
-make
+make CFLAGS="$SLKCFLAGS"
strip --strip-unneeded $PRGNAM 2> /dev/null