summaryrefslogtreecommitdiffstats
path: root/source/a/pcmciautils
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/pcmciautils')
-rwxr-xr-xsource/a/pcmciautils/pcmciautils.SlackBuild17
-rw-r--r--source/a/pcmciautils/slack-desc8
2 files changed, 17 insertions, 8 deletions
diff --git a/source/a/pcmciautils/pcmciautils.SlackBuild b/source/a/pcmciautils/pcmciautils.SlackBuild
index 2a492d447..c44303dc1 100755
--- a/source/a/pcmciautils/pcmciautils.SlackBuild
+++ b/source/a/pcmciautils/pcmciautils.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for pcmciautils
-# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2018 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,9 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+PKGNAM=pcmciautils
VERSION=${VERSION:-018}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -36,10 +38,17 @@ if [ -z "$ARCH" ]; then
esac
fi
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz"
+ exit 0
+fi
+
# parallel build will cause an error building ccdv:
NUMJOBS=${NUMJOBS:-" -j1 "}
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-pcmciautils
diff --git a/source/a/pcmciautils/slack-desc b/source/a/pcmciautils/slack-desc
index c9958af84..f56b5475d 100644
--- a/source/a/pcmciautils/slack-desc
+++ b/source/a/pcmciautils/slack-desc
@@ -1,15 +1,15 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
+# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|' on
-# the right side marks the last column you can put a character in. You must make
-# exactly 11 lines for the formatting to be correct. It's also customary to
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
# leave one space after the ':'.
|-----handy-ruler-------------------------------------------------------|
pcmciautils: pcmciautils (Utilities for using PCMCIA cards with 2.6+ kernels)
pcmciautils:
pcmciautils: This package provides PCMCIA tools that replace the pcmcia-cs tools
-pcmciautils: used with the 2.4.x Linux kernel. PCMCIA cards are commonly used
+pcmciautils: used with the 2.4.x Linux kernel. PCMCIA cards are commonly used
pcmciautils: in laptops to provide expanded capabilities such as network
pcmciautils: connections, modems, increased memory, and more.
pcmciautils: