diff options
Diffstat (limited to 'dev')
-rwxr-xr-x | dev/libs/libassuan/libassuan.SlackBuild | 6 | ||||
-rwxr-xr-x | dev/libs/libgcrypt/libgcrypt.SlackBuild | 6 | ||||
-rwxr-xr-x | dev/libs/libgpg-error/libgpg-error.SlackBuild | 6 | ||||
-rwxr-xr-x | dev/libs/libksba/libksba.SlackBuild | 6 | ||||
-rwxr-xr-x | dev/libs/libpth/libpth.SlackBuild | 6 |
5 files changed, 15 insertions, 15 deletions
diff --git a/dev/libs/libassuan/libassuan.SlackBuild b/dev/libs/libassuan/libassuan.SlackBuild index 05021ae2..26361437 100755 --- a/dev/libs/libassuan/libassuan.SlackBuild +++ b/dev/libs/libassuan/libassuan.SlackBuild @@ -91,8 +91,8 @@ fi gpg --verify $SRC_DIR/$SRC.sig $SRC_DIR/$SRC || exit $ERROR_GPG # Untar, configure, compile and install -tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC || exit $ERROR_TAR -cd $PKG_SRC +tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC -C $SRC_DIR || exit $ERROR_TAR +cd $SRC_DIR/$PKG_SRC CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -167,5 +167,5 @@ makepkg -l y -c n $REPOS/$PKG_NAME-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPK # Delete source and build directories, if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf $CWD/$PKG_SRC $PKG + rm -rf $SRC_DIR/$PKG_SRC $PKG fi diff --git a/dev/libs/libgcrypt/libgcrypt.SlackBuild b/dev/libs/libgcrypt/libgcrypt.SlackBuild index 9257dfc7..df63cb49 100755 --- a/dev/libs/libgcrypt/libgcrypt.SlackBuild +++ b/dev/libs/libgcrypt/libgcrypt.SlackBuild @@ -91,8 +91,8 @@ fi gpg --verify $SRC_DIR/$SRC.sig $SRC_DIR/$SRC || exit $ERROR_GPG # Untar, configure, compile and install -tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC || exit $ERROR_TAR -cd $PKG_SRC +tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC -C $SRC_DIR || exit $ERROR_TAR +cd $SRC_DIR/$PKG_SRC CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -168,5 +168,5 @@ makepkg -l y -c n $REPOS/$PKG_NAME-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPK # Delete source and build directories, if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf $CWD/$PKG_SRC $PKG + rm -rf $SRC_DIR/$PKG_SRC $PKG fi diff --git a/dev/libs/libgpg-error/libgpg-error.SlackBuild b/dev/libs/libgpg-error/libgpg-error.SlackBuild index 496732d4..d13103ff 100755 --- a/dev/libs/libgpg-error/libgpg-error.SlackBuild +++ b/dev/libs/libgpg-error/libgpg-error.SlackBuild @@ -91,8 +91,8 @@ fi gpg --verify $SRC_DIR/$SRC.sig $SRC_DIR/$SRC || exit $ERROR_GPG # Untar, configure, compile and install -tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC || exit $ERROR_TAR -cd $PKG_SRC +tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC -C $SRC_DIR || exit $ERROR_TAR +cd $SRC_DIR/$PKG_SRC CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -167,5 +167,5 @@ makepkg -l y -c n $REPOS/$PKG_NAME-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPK # Delete source and build directories, if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf $CWD/$PKG_SRC $PKG + rm -rf $SRC_DIR/$PKG_SRC $PKG fi diff --git a/dev/libs/libksba/libksba.SlackBuild b/dev/libs/libksba/libksba.SlackBuild index fc111a61..596ec243 100755 --- a/dev/libs/libksba/libksba.SlackBuild +++ b/dev/libs/libksba/libksba.SlackBuild @@ -91,8 +91,8 @@ fi gpg --verify $SRC_DIR/$SRC.sig $SRC_DIR/$SRC || exit $ERROR_GPG # Untar, configure, compile and install -tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC || exit $ERROR_TAR -cd $PKG_SRC +tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC -C $SRC_DIR || exit $ERROR_TAR +cd $SRC_DIR/$PKG_SRC CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -167,5 +167,5 @@ makepkg -l y -c n $REPOS/$PKG_NAME-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPK # Delete source and build directories, if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf $CWD/$PKG_SRC $PKG + rm -rf $SRC_DIR/$PKG_SRC $PKG fi diff --git a/dev/libs/libpth/libpth.SlackBuild b/dev/libs/libpth/libpth.SlackBuild index 2389a787..a7a6805c 100755 --- a/dev/libs/libpth/libpth.SlackBuild +++ b/dev/libs/libpth/libpth.SlackBuild @@ -108,8 +108,8 @@ fi gpg --verify $SRC_DIR/$SRC.sig $SRC_DIR/$SRC || exit $ERROR_GPG # Untar, configure, compile and install -tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC || exit $ERROR_TAR -cd $PKG_SRC +tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC -C $SRC_DIR || exit $ERROR_TAR +cd $SRC_DIR/$PKG_SRC CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -185,5 +185,5 @@ makepkg -l y -c n $REPOS/$PKG_NAME-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPK # Delete source and build directories, if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf $CWD/$PKG_SRC $PKG + rm -rf $SRC_DIR/$PKG_SRC $PKG fi |