diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-10 23:06:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-06-15 07:37:42 +0700 |
commit | 01554e7c182a7192c46e279c77f788b41129c42e (patch) | |
tree | eb5dce792007a0576a9a33513dc0dc4848303ea7 /academic | |
parent | 687247ad7ccbb0481c592bb2e3e25c6b3cc03e01 (diff) |
academic/link-grammar: Removed (not well maintained).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/link-grammar/README | 6 | ||||
-rw-r--r-- | academic/link-grammar/link-grammar.SlackBuild | 97 | ||||
-rw-r--r-- | academic/link-grammar/link-grammar.info | 10 | ||||
-rw-r--r-- | academic/link-grammar/slack-desc | 19 |
4 files changed, 0 insertions, 132 deletions
diff --git a/academic/link-grammar/README b/academic/link-grammar/README deleted file mode 100644 index 1250ac314535..000000000000 --- a/academic/link-grammar/README +++ /dev/null @@ -1,6 +0,0 @@ -The Link Grammar Parser is a syntactic parser of English, based on -link grammar, an original theory of English syntax. Given a sentence, -the system assigns to it a syntactic structure, which consists of a set -of labeled links connecting pairs of words. The parser also produces a -"constituent" (Penn tree-bank style phrase tree) representation of a -sentence (showing noun phrases, verb phrases, etc.). diff --git a/academic/link-grammar/link-grammar.SlackBuild b/academic/link-grammar/link-grammar.SlackBuild deleted file mode 100644 index a7686f7c7acf..000000000000 --- a/academic/link-grammar/link-grammar.SlackBuild +++ /dev/null @@ -1,97 +0,0 @@ -#!/bin/bash - -# Slackware build script for link-grammar - -# Written by Michael Gabilondo <mgabilo{at}gmail{dot}com> -# This work is in the public domain - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=link-grammar -VERSION=${VERSION:-4.8.0} -BUILD=${BUILD:-2} -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 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 -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 - -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 {} \; - -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 \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -mkdir -p $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/academic/link-grammar/link-grammar.info b/academic/link-grammar/link-grammar.info deleted file mode 100644 index 5e493b468626..000000000000 --- a/academic/link-grammar/link-grammar.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="link-grammar" -VERSION="4.8.0" -HOMEPAGE="http://www.abisource.org/projects/link-grammar/" -DOWNLOAD="http://www.abisource.com/downloads/link-grammar/4.8.0/link-grammar-4.8.0.tar.gz" -MD5SUM="218a2ee5ffed258bc52a0718811ca66e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="apache-ant zulu-openjdk8" -MAINTAINER="Michael Gabilondo" -EMAIL="mgabilo{at}gmail{dot}com" diff --git a/academic/link-grammar/slack-desc b/academic/link-grammar/slack-desc deleted file mode 100644 index 543a88f6bcc2..000000000000 --- a/academic/link-grammar/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------------------------------------------------------| -link-grammar: link-grammar (syntactic parser of English) -link-grammar: -link-grammar: The Link Grammar Parser is a syntactic parser of English, based -link-grammar: on link grammar, an original theory of English syntax. Given a -link-grammar: sentence, the system assigns to it a syntactic structure, which -link-grammar: consists of a set of labeled links connecting pairs of words. -link-grammar: The parser also produces a "constituent" (Penn tree-bank style -link-grammar: phrase tree) representation of a sentence (showing noun phrases, -link-grammar: verb phrases, etcetera). -link-grammar: -link-grammar: Homepage: http://www.abisource.org/projects/link-grammar/ |