diff options
author | Gerardo Zamudio <gerardo.zamudio@linux.com> | 2016-12-28 20:30:33 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-30 23:30:10 +0000 |
commit | 48e3fdff08c988b52d85e62544e3de18f932b54c (patch) | |
tree | 262ea5b17db9806cc8dcbfee1beeb8ba5f5e302d /libraries/luasocket/luasocket.SlackBuild | |
parent | 5d9f40b8eceac92d2326de10e784d83c691b6ada (diff) | |
download | slackbuilds-48e3fdff08c988b52d85e62544e3de18f932b54c.tar.gz |
libraries/luasocket: Updated for version 3.0_rc1 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/luasocket/luasocket.SlackBuild')
-rw-r--r-- | libraries/luasocket/luasocket.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libraries/luasocket/luasocket.SlackBuild b/libraries/luasocket/luasocket.SlackBuild index 8d432d3b48..9bce585d7b 100644 --- a/libraries/luasocket/luasocket.SlackBuild +++ b/libraries/luasocket/luasocket.SlackBuild @@ -23,14 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=luasocket -HASH=${HASH:-6d5e40c324c84d9c1453ae88e0ad5bdd0a631448} -VERSION=20130909_$(echo $HASH |cut -c -7) +VERSION=3.0_rc1 +SRCVER=3.0-rc1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS=" -O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS=" -O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS=" -O2 -march=i686 -mtune=i686" @@ -60,15 +60,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$HASH -tar xvf $CWD/$HASH.tar.gz || tar xvf $CWD/$PRGNAM-$HASH.tar.gz -cd $PRGNAM-$HASH +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make PLAT=linux LUAV=5.1 prefix=/usr MYCFLAGS="$SLKCFLAGS" |