summaryrefslogtreecommitdiffstats
path: root/system/tarsnap/tarsnap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tarsnap/tarsnap.SlackBuild')
-rw-r--r--system/tarsnap/tarsnap.SlackBuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/system/tarsnap/tarsnap.SlackBuild b/system/tarsnap/tarsnap.SlackBuild
index 93ff05269d..de29d387ca 100644
--- a/system/tarsnap/tarsnap.SlackBuild
+++ b/system/tarsnap/tarsnap.SlackBuild
@@ -18,11 +18,10 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-# Modified by the SlackBuilds.org project
PRGNAM=tarsnap
-VERSION=${VERSION:-1.0.17}
-#ARCH=${ARCH:-i486} # Do not set or edit this - we get it from the Makefile.
+VERSION=${VERSION:-1.0.26}
+ARCH=${ARCH:-i486} # This will later be overwritten from the Makefile
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,9 +39,9 @@ set -e # Exit on most errors
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-at-$VERSION
-tar xvf $CWD/$PRGNAM-at-$VERSION.tgz
-cd $PRGNAM-at-$VERSION
+rm -rf $PRGNAM-autoconf-$VERSION
+tar xvf $CWD/$PRGNAM-autoconf-$VERSION.tgz
+cd $PRGNAM-autoconf-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -54,7 +53,8 @@ find . \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -63,6 +63,9 @@ make install DESTDIR=$PKG
ARCH=$(grep build_cpu Makefile | cut -d= -f 2 | sed s/^\ //)
# We'll leave stuff unstripped for now, since we're dealing with a beta
+# Though very stable, any debugging information might be helpful to
+# the developer (Colin)
+#
#( cd $PKG
# find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@@ -81,4 +84,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}