aboutsummaryrefslogtreecommitdiff
path: root/dev/libs
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2007-12-02 01:28:09 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2007-12-02 01:28:09 +0000
commitf02f5893afda05db26a556c3aa22aa8a1224c547 (patch)
treec852722d087e7ade0537802eb2c28d5a2d903a0b /dev/libs
parentc6f25ad07ec507a3eb3f886848fd4f06b4a4bb7b (diff)
downloadslackbuilds-f02f5893afda05db26a556c3aa22aa8a1224c547.tar.gz
slackbuilds-f02f5893afda05db26a556c3aa22aa8a1224c547.tar.bz2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1485 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/libs')
-rw-r--r--dev/libs/libdaemon/libdaemon.SlackBuild6
-rw-r--r--dev/libs/libffi/libffi.SlackBuild6
-rw-r--r--dev/libs/libidl/libidl.SlackBuild6
3 files changed, 12 insertions, 6 deletions
diff --git a/dev/libs/libdaemon/libdaemon.SlackBuild b/dev/libs/libdaemon/libdaemon.SlackBuild
index e65228f9..b4355059 100644
--- a/dev/libs/libdaemon/libdaemon.SlackBuild
+++ b/dev/libs/libdaemon/libdaemon.SlackBuild
@@ -39,7 +39,7 @@ TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
PREFIX=${PREFIX:=/usr}
-PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION"
+PKG_WORK="$TMP/$SRC_NAME"
CONF_OPTIONS=${CONF_OPTIONS:="--disable-static --program-prefix= --program-suffix= --build=$ARCH-slackware-linux"}
NUMJOBS=${NUMJOBS:="-j7"}
@@ -73,6 +73,7 @@ rm -rf "$PKG" 2> /dev/null
mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR
mkdir -p "$PKG" || exit $ERROR_MKDIR
mkdir -p "$REPOS" || exit $ERROR_MKDIR
+mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
# Dowload source if necessary
SRC="$SRC_NAME-$VERSION.tar.gz"
@@ -84,8 +85,9 @@ fi
# Untar
-cd "$TMP"
+cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
+PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
cd "$PKG_SRC"
# Configure
diff --git a/dev/libs/libffi/libffi.SlackBuild b/dev/libs/libffi/libffi.SlackBuild
index b342d9b0..065f7072 100644
--- a/dev/libs/libffi/libffi.SlackBuild
+++ b/dev/libs/libffi/libffi.SlackBuild
@@ -39,7 +39,7 @@ TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
PREFIX=${PREFIX:=/usr}
-PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION"
+PKG_WORK="$TMP/$SRC_NAME"
CONF_OPTIONS=${CONF_OPTIONS:="--enable-shared"}
NUMJOBS=${NUMJOBS:="-j7"}
@@ -73,6 +73,7 @@ rm -rf "$PKG" 2> /dev/null
mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR
mkdir -p "$PKG" || exit $ERROR_MKDIR
mkdir -p "$REPOS" || exit $ERROR_MKDIR
+mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
# Dowload source if necessary
SRC="$SRC_NAME-$VERSION.tar.gz"
@@ -84,8 +85,9 @@ fi
# Untar
-cd "$TMP"
+cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
+PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
cd "$PKG_SRC"
# Configure
diff --git a/dev/libs/libidl/libidl.SlackBuild b/dev/libs/libidl/libidl.SlackBuild
index 2ce53126..00ec505e 100644
--- a/dev/libs/libidl/libidl.SlackBuild
+++ b/dev/libs/libidl/libidl.SlackBuild
@@ -39,7 +39,7 @@ TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
PREFIX=${PREFIX:=/usr}
-PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION"
+PKG_WORK="$TMP/$SRC_NAME"
CONF_OPTIONS=${CONF_OPTIONS:=""}
NUMJOBS=${NUMJOBS:="-j7"}
@@ -73,6 +73,7 @@ rm -rf "$PKG" 2> /dev/null
mkdir -p "$SRC_DIR" || exit $ERROR_MKDIR
mkdir -p "$PKG" || exit $ERROR_MKDIR
mkdir -p "$REPOS" || exit $ERROR_MKDIR
+mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR
# Dowload source if necessary
SRC="$SRC_NAME-$VERSION.tar.bz2"
@@ -84,8 +85,9 @@ fi
# Untar
-cd "$TMP"
+cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
+PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
cd "$PKG_SRC"
# Configure