summaryrefslogtreecommitdiff
path: root/private/ragel
diff options
context:
space:
mode:
Diffstat (limited to 'private/ragel')
-rw-r--r--private/ragel/README9
-rw-r--r--private/ragel/lib64.patch15
-rwxr-xr-xprivate/ragel/ragel.SlackBuild120
-rw-r--r--private/ragel/ragel.info10
-rw-r--r--private/ragel/shared-colm.patch31
-rw-r--r--private/ragel/slack-desc19
6 files changed, 0 insertions, 204 deletions
diff --git a/private/ragel/README b/private/ragel/README
deleted file mode 100644
index cdc9416..0000000
--- a/private/ragel/README
+++ /dev/null
@@ -1,9 +0,0 @@
-Ragel compiles executable finite state machines from regular
-languages. Ragel targets C, C++, Objective-C, D, Java and Ruby.
-Ragel state machines can not only recognize byte sequences as regular
-expression machines do, but can also execute code at arbitrary points
-in the recognition of a regular language. Code embedding is done using
-inline operators that do not disrupt the regular language syntax.
-
-NOTE: before building this it's recommended to remove any previous
-version you might have installed.
diff --git a/private/ragel/lib64.patch b/private/ragel/lib64.patch
deleted file mode 100644
index 53aa3b8..0000000
--- a/private/ragel/lib64.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/configure.ac 2021-02-15 20:45:20.000000000 +0100
-+++ b/configure.ac 2021-02-21 17:59:13.593674832 +0100
-@@ -46,9 +46,9 @@
- COLM_WRAP="$withval/bin/colm-wrap"
- CPPFLAGS="-I$withval/include ${CPPFLAGS}"
- CPPFLAGS="-I$withval/include/aapl ${CPPFLAGS}"
-- LDFLAGS="-L$withval/lib ${LDFLAGS}"
-- LIBCOLM_LA="$withval/lib/libcolm.la"
-- LIBFSM_LA="$withval/lib/libfsm.la"
-+ LDFLAGS="-L$withval/lib64 ${LDFLAGS}"
-+ LIBCOLM_LA="$withval/lib64/libcolm.la"
-+ LIBFSM_LA="$withval/lib64/libfsm.la"
- COLM_SHARE="$withval/share"
- ],
- []
diff --git a/private/ragel/ragel.SlackBuild b/private/ragel/ragel.SlackBuild
deleted file mode 100755
index 083354d..0000000
--- a/private/ragel/ragel.SlackBuild
+++ /dev/null
@@ -1,120 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for ragel
-
-# Copyright 2012-2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# 20220308 bkw: Modified by SlackBuilds.org:
-# This build always fails if ragel is already installed. Add a check
-# to make it fail quickly, with a useful error message (instead of a
-# confusing link error, after compiling for several minutes).
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=ragel
-VERSION=${VERSION:-7.0.4}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-PKGTYPE=${PKGTYPE:-tgz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-DOCS="COPYING README"
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-
-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 {} \+
-
-if [ "$LIBDIRSUFFIX" = "64" ]; then
- patch --verbose -p1 -i $CWD/lib64.patch
-fi
-patch --verbose -p1 -i $CWD/shared-colm.patch
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-static \
- --with-colm=/usr \
- --disable-manual \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
-gzip -9 $PKG/usr/man/man*/*
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-rm -f $PKG/usr/lib*/*.la
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/private/ragel/ragel.info b/private/ragel/ragel.info
deleted file mode 100644
index dd0ca9e..0000000
--- a/private/ragel/ragel.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="ragel"
-VERSION="7.0.4"
-HOMEPAGE="https://www.colm.net/open-source/ragel/"
-DOWNLOAD="https://www.colm.net/files/ragel/ragel-7.0.4.tar.gz"
-MD5SUM="2ca4f5507c1923bcf9a7909baa8254d3"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="colm kelbt"
-MAINTAINER="Matteo Bernardini"
-EMAIL="ponce@slackbuilds.org"
diff --git a/private/ragel/shared-colm.patch b/private/ragel/shared-colm.patch
deleted file mode 100644
index 3f26ae5..0000000
--- a/private/ragel/shared-colm.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index e1a0fc67..07a2b075 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -59,6 +59,26 @@ AC_CHECK_FILES(
- [],
- [AC_ERROR([colm is required to build ragel])]
- )
-+
-+dnl If the .la files are present use those, otherwise locate the libs with AC_CHECK_LIB.
-+AC_CHECK_FILES(
-+ [$LIBCOLM_LA $LIBFSM_LA],
-+ [],
-+ [
-+ AC_CHECK_LIB(
-+ [colm],
-+ [colm_run_program],
-+ [LIBCOLM_LA=-lcolm],
-+ [AC_ERROR([libcolm is required to build ragel])]
-+ )
-+ AC_CHECK_LIB(
-+ [fsm],
-+ [libfsm_present],
-+ [LIBFSM_LA=-lfsm],
-+ [AC_ERROR([libfsm is required to build ragel])]
-+ )
-+ ]
-+)
- AC_SUBST(COLM)
- AC_SUBST(COLM_WRAP)
- AC_SUBST(COLM_SHARE)
diff --git a/private/ragel/slack-desc b/private/ragel/slack-desc
deleted file mode 100644
index 2a6936b..0000000
--- a/private/ragel/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-ragel: ragel (State Machine Compiler)
-ragel:
-ragel: Ragel compiles executable finite state machines from regular
-ragel: languages. Ragel targets C, C++, Objective-C, D, Java and Ruby.
-ragel: Ragel state machines can not only recognize byte sequences as regular
-ragel: expression machines do, but can also execute code at arbitrary points
-ragel: in the recognition of a regular language. Code embedding is done using
-ragel: inline operators that do not disrupt the regular language syntax.
-ragel:
-ragel: homepage: https://www.colm.net/open-source/ragel/
-ragel: