diff options
Diffstat (limited to 'dev/libs/libassuan/libassuan.SlackBuild')
-rwxr-xr-x | dev/libs/libassuan/libassuan.SlackBuild | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/dev/libs/libassuan/libassuan.SlackBuild b/dev/libs/libassuan/libassuan.SlackBuild index 55b2b3df..0c3859ce 100755 --- a/dev/libs/libassuan/libassuan.SlackBuild +++ b/dev/libs/libassuan/libassuan.SlackBuild @@ -33,7 +33,7 @@ CWD="$(pwd)" SRC_NAME="libassuan" PKG_NAME="libassuan" ARCH=${ARCH:=i486} -SRC_VERSION=${VERSION:=1.0.1} +SRC_VERSION=${VERSION:=1.0.2} PKG_VERSION="$(echo "$SRC_VERSION" | tr '[[:blank:]-]' '_')" BUILD=${BUILD:=1ls} SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME @@ -43,7 +43,7 @@ REPOS=${REPOS:=$TMP} PREFIX=${PREFIX:=/usr} PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION" CONF_OPTIONS=${CONF_OPTIONS:=--infodir=$PREFIX/info} -NUMJOBS=${NUMJOBS:=-j4} +NUMJOBS=${NUMJOBS:=-j6} # Set system libraries' path and optmization flags based on $ARCH LIBDIR="$PREFIX/lib" @@ -113,6 +113,20 @@ cd "$TMP" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR cd "$PKG_SRC" +# Fix source files' ownership and permission +chown -R root:root . +find . -perm 666 -exec chmod 644 {} \; +find . -perm 664 -exec chmod 644 {} \; +find . -perm 600 -exec chmod 644 {} \; +find . -perm 444 -exec chmod 644 {} \; +find . -perm 400 -exec chmod 644 {} \; +find . -perm 440 -exec chmod 644 {} \; +find . -perm 777 -exec chmod 755 {} \; +find . -perm 775 -exec chmod 755 {} \; +find . -perm 511 -exec chmod 755 {} \; +find . -perm 711 -exec chmod 755 {} \; +find . -perm 555 -exec chmod 755 {} \; + # Configure CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -120,7 +134,7 @@ CFLAGS="$SLKCFLAGS" \ --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF # Compile -make "$NUMJOBS" || exit $ERROR_MAKE +make $NUMJOBS || exit $ERROR_MAKE # Install make install DESTDIR="$PKG" || exit $ERROR_INSTALL @@ -157,7 +171,7 @@ cat << EODESC > "$PKG/install/slack-desc" # customary to leave one space after the ':'. |-----handy-ruler-----------------------------------------------------| -libassuan: libassuan +libassuan: libassuan (Interprocess Communication Library for GPG) libassuan: libassuan: Libassuan is a small library implementing the so-called Assuan libassuan: protocol. This protocol is used for IPC between most newer GnuPG |