diff options
author | B. Watson <urchlay@slackware.uk> | 2024-10-18 03:53:55 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-11-02 19:28:33 +0700 |
commit | 9176529abc1e89303f9c91754d404104f61d9094 (patch) | |
tree | 18ac8cab7d575db12fc69642270135b9e43fb6a8 /games | |
parent | 11f0a7cbbf43a7c20c767b1267391fef98c041b5 (diff) |
games/fillets-ng: Build with lua51.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/fillets-ng/fillets-ng.SlackBuild | 25 | ||||
-rw-r--r-- | games/fillets-ng/fillets-ng.info | 2 |
2 files changed, 10 insertions, 17 deletions
diff --git a/games/fillets-ng/fillets-ng.SlackBuild b/games/fillets-ng/fillets-ng.SlackBuild index 594cc6ec34cb..e23f9cf30346 100644 --- a/games/fillets-ng/fillets-ng.SlackBuild +++ b/games/fillets-ng/fillets-ng.SlackBuild @@ -22,12 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20241018 bkw: Modified by SlackBuilds.org, BUILD=2: build with luajit. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=fillets-ng VERSION=${VERSION:-1.0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -74,12 +72,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION 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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + +LUA_CFLAGS=-I/usr/include/lua5.1 \ +LUA_LIBS=-llua5.1 \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -95,15 +92,11 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +strip $PKG/usr/games/* +gzip $PKG/usr/man/man*/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a TODO README NEWS INSTALL ChangeLog COPYING AUTHORS \ +cp -a TODO README NEWS ChangeLog COPYING AUTHORS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/fillets-ng/fillets-ng.info b/games/fillets-ng/fillets-ng.info index ed0e67bbaa85..97308c41cc7b 100644 --- a/games/fillets-ng/fillets-ng.info +++ b/games/fillets-ng/fillets-ng.info @@ -5,6 +5,6 @@ DOWNLOAD="http://prdownloads.sourceforge.net/fillets/fillets-ng-1.0.1.tar.gz" MD5SUM="bdd2dfacaab345f12d9ab0ff1d0ab6dc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="lua fillets-ng-data" +REQUIRES="luajit fillets-ng-data" MAINTAINER="Sergio Vicari" EMAIL="sercari@esdebian.org" |