mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/lua-filesystem: Updated for version 1.6.2, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
fdae8ebcf6
commit
7a737bf8e2
3 changed files with 12 additions and 11 deletions
|
@ -5,6 +5,6 @@ libdir=${exec_prefix}/lib/lua/5.1
|
|||
|
||||
Name: lfs
|
||||
Description: lfs - lua filesystem library
|
||||
Version: 1.5.0
|
||||
Version: 1.6.2
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -L/usr/lib -llfs -llua -lm
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for lua-filesystem
|
||||
# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012
|
||||
# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2013
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,8 +23,8 @@
|
|||
|
||||
PRGNAM=lua-filesystem
|
||||
SRCNAM=luafilesystem
|
||||
VERSION=${VERSION:-20120408_84f1af5}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-1.6.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -71,13 +71,14 @@ find -L . \
|
|||
|
||||
sed -i \
|
||||
-e "s|/usr/local|/usr|" \
|
||||
-e "s|/lib|/lib${LIBDIRSUFFIX}|" \
|
||||
-e "s|-O2 -Wall -fPIC|${SLKCFLAGS} -Wall|" \
|
||||
-e "s|/lib|/lib$LIBDIRSUFFIX|" \
|
||||
-e "s|-O2 -Wall -fPIC|$SLKCFLAGS -Wall|" \
|
||||
config
|
||||
make
|
||||
install -m 0755 -D src/lfs.so $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1/lfs.so
|
||||
( cd $PKG/usr/lib${LIBDIRSUFFIX} ; ln -s lua/5.1/lfs.so ; ln -s {,lib}lfs.so )
|
||||
install -m 0755 -D src/lfs.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/lfs.so
|
||||
install -m 0644 -D src/lfs.h $PKG/usr/include/lfs.h
|
||||
|
||||
# install a pkgconfig file
|
||||
install -m 0644 -D $CWD/lfs.pc $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lfs.pc
|
||||
sed -i "s|/lib|/lib$LIBDIRSUFFIX|" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lfs.pc
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="lua-filesystem"
|
||||
VERSION="20120408_84f1af5"
|
||||
VERSION="1.6.2"
|
||||
HOMEPAGE="http://keplerproject.github.com/luafilesystem/"
|
||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/luafilesystem-20120408_84f1af5.tar.xz"
|
||||
MD5SUM="49843fb72a5541c8faf92b8a7467d307"
|
||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/luafilesystem-1.6.2.tar.xz"
|
||||
MD5SUM="495c7cb01c954c10a8a23c8331caf48b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="lua"
|
||||
|
|
Loading…
Reference in a new issue