diff options
author | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-04-12 02:46:10 +0000 |
---|---|---|
committer | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-04-12 02:46:10 +0000 |
commit | b4e5a59cf012666c6e14080b37281fa0a8b2d27d (patch) | |
tree | d456752ffa99fa1114beb8cc02397e3adb63cf97 /dev/libs/libgcrypt/libgcrypt.SlackBuild | |
parent | 5715ba0a091568f07009b6c40315fd65bf8acd5d (diff) | |
download | slackbuilds-b4e5a59cf012666c6e14080b37281fa0a8b2d27d.tar.gz slackbuilds-b4e5a59cf012666c6e14080b37281fa0a8b2d27d.tar.bz2 |
Syncing with generic.SlackBuild v0.8.2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1164 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/libs/libgcrypt/libgcrypt.SlackBuild')
-rwxr-xr-x | dev/libs/libgcrypt/libgcrypt.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dev/libs/libgcrypt/libgcrypt.SlackBuild b/dev/libs/libgcrypt/libgcrypt.SlackBuild index 4290ba10..fed2828c 100755 --- a/dev/libs/libgcrypt/libgcrypt.SlackBuild +++ b/dev/libs/libgcrypt/libgcrypt.SlackBuild @@ -27,6 +27,8 @@ PKG=${PKG:=$TMP/package-$PKG_NAME} REPOS=${REPOS:=$TMP} PREFIX=${PREFIX:=/usr} PKG_SRC="$TMP/$SRC_NAME-$SRC_VERSION" +CONF_OPTIONS=${CONF_OPTIONS:=--infodir=$PREFIX/info --enable-m-guard --enable-noexecstack} +NUMJOBS=${NUMJOBS:=-j4} # Set system libraries' path and optmization flags based on $ARCH LIBDIR="$PREFIX/lib" @@ -100,11 +102,10 @@ cd "$PKG_SRC" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix="$PREFIX" --libdir="$LIBDIR" --infodir="$PREFIX/info" \ - --enable-m-guard --enable-noexecstack || exit $ERROR_CONF + --prefix="$PREFIX" --libdir="$LIBDIR" "$CONF_OPTIONS" || exit $ERROR_CONF # Compile -make || exit $ERROR_MAKE +make "$NUMJOBS" || exit $ERROR_MAKE # Install make install DESTDIR="$PKG" || exit $ERROR_INSTALL @@ -127,8 +128,8 @@ fi # Install documentation DOCS="AUTHORS BUGS COPYING* ChangeLog INSTALL NEWS README* THANKS TODO VERSION" -mkdir -p "$PKG/$PREFIX/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR -cp -a $DOCS "$PKG/$PREFIX/doc/$PKG_NAME-$PKG_VERSION" +mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR +cp -a $DOCS "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" # Add package description (slack-desc) mkdir -p "$PKG/install" || exit $ERROR_MKDIR |