diff options
-rw-r--r-- | libraries/lua-mpack/lua-mpack.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/lua-mpack/lua-mpack.info | 8 |
2 files changed, 10 insertions, 11 deletions
diff --git a/libraries/lua-mpack/lua-mpack.SlackBuild b/libraries/lua-mpack/lua-mpack.SlackBuild index f9aac07f327fa..1b803e53a927d 100644 --- a/libraries/lua-mpack/lua-mpack.SlackBuild +++ b/libraries/lua-mpack/lua-mpack.SlackBuild @@ -23,14 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=lua-mpack -SRCNAM=libmpack -VERSION=${VERSION:-1.0.2} +SRCNAM=libmpack-lua +VERSION=${VERSION:-1.0.6} 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" @@ -70,7 +70,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -gcc -O2 -fPIC -c binding/lua/lmpack.c -o lmpack.o +gcc -O2 -fPIC -c lmpack.c -o lmpack.o gcc -shared -o mpack.so lmpack.o install -D -m 0755 mpack.so $PKG/$(pkg-config --variable INSTALL_CMOD lua)/mpack.so @@ -78,7 +78,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE-MIT README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/lua-mpack/lua-mpack.info b/libraries/lua-mpack/lua-mpack.info index aa64bee6b1df8..51625b89cd31a 100644 --- a/libraries/lua-mpack/lua-mpack.info +++ b/libraries/lua-mpack/lua-mpack.info @@ -1,8 +1,8 @@ PRGNAM="lua-mpack" -VERSION="1.0.2" -HOMEPAGE="https://github.com/tarruda/libmpack/" -DOWNLOAD="https://github.com/tarruda/libmpack/archive/1.0.2.tar.gz" -MD5SUM="a6320e37991bb56520d4670419edb43c" +VERSION="1.0.6" +HOMEPAGE="https://github.com/libmpack/libmpack-lua/" +DOWNLOAD="https://github.com/libmpack/libmpack-lua/archive/1.0.6/libmpack-lua-1.0.6.tar.gz" +MD5SUM="99bba4445190d482a1d34395a46ccc7d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" |