mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/enchant: Added to 12.0 repository
This commit is contained in:
parent
43e13dd599
commit
bc1d33afc7
4 changed files with 92 additions and 0 deletions
1
libraries/enchant/README
Normal file
1
libraries/enchant/README
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Enchant is a wrapper for spellcheck libraries like aspell.
|
64
libraries/enchant/enchant.SlackBuild
Normal file
64
libraries/enchant/enchant.SlackBuild
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Slackware build script for enchant
|
||||||
|
# Written by Alex Elliott <alex@alex-elliott.co.uk>
|
||||||
|
|
||||||
|
PRGNAM=enchant
|
||||||
|
VERSION=1.3.0
|
||||||
|
ARCH=${ARCH:-i486}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP:-/tmp/SBo}
|
||||||
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
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 .
|
||||||
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--with-aspell-prefix=/usr \
|
||||||
|
--enable-static=no
|
||||||
|
|
||||||
|
make
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
( cd $PKG
|
||||||
|
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||||
|
)
|
||||||
|
|
||||||
|
( 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
|
||||||
|
cp -a AUTHORS BUGS COPYING.LIB HACKING MAINTAINERS NEWS README TODO \
|
||||||
|
ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
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.tgz
|
8
libraries/enchant/enchant.info
Normal file
8
libraries/enchant/enchant.info
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
PRGNAM="enchant"
|
||||||
|
VERSION="1.3.0"
|
||||||
|
HOMEPAGE="http://www.abisource.com/projects/enchant/"
|
||||||
|
DOWNLOAD="http://www.abisource.com/downloads/enchant/1.3.0/enchant-1.3.0.tar.gz"
|
||||||
|
MD5SUM="f7edafae875616b83e7a17a7e5c2d585"
|
||||||
|
MAINTAINER="Alex Elliott"
|
||||||
|
EMAIL="alex@alex-elliott.co.uk"
|
||||||
|
APPROVED="rworkman"
|
19
libraries/enchant/slack-desc
Normal file
19
libraries/enchant/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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 ':'.
|
||||||
|
|
||||||
|
|---handy-ruler------------------------------------------------------|
|
||||||
|
enchant: Enchant (wrapper for spellcheck libraries)
|
||||||
|
enchant:
|
||||||
|
enchant: Enchant supports:
|
||||||
|
enchant: * Aspell/Pspell
|
||||||
|
enchant: * Ispell
|
||||||
|
enchant: * MySpell/HunSpell
|
||||||
|
enchant: * Uspell (Yiddish, Hebrew and Eastern European languages)
|
||||||
|
enchant: * Hspell (Hebrew) and others
|
||||||
|
enchant:
|
||||||
|
enchant: http://www.abisource.com/projects/enchant/
|
||||||
|
enchant:
|
Loading…
Reference in a new issue