Added enchant-1.4.2 template.

--HG--
extra : convert_revision : d135d59627d3ff7b503b6e2b9a9e43f38b7fbe17
This commit is contained in:
Juan RP 2009-05-14 02:58:40 +02:00
parent 1a5374ba26
commit 2027d5d5f5
4 changed files with 63 additions and 0 deletions

1
templates/enchant-devel Symbolic link
View File

@ -0,0 +1 @@
enchant

View File

@ -0,0 +1,2 @@
abi_depends=1.4.2
api_depends=${abi_depends}

View File

@ -0,0 +1,20 @@
# Template file for 'enchant-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run enchant
do_install()
{
mkdir -p ${DESTDIR}/usr/lib/enchant
mkdir -p ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/enchant/*.*a ${DESTDIR}/usr/lib/enchant
}

View File

@ -0,0 +1,40 @@
# Template file for 'enchant'
pkgname=enchant
sourcepkg=$pkgname
version=1.4.2
distfiles="http://www.abisource.com/downloads/enchant/$version/enchant-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-zemberek --disable-ispell"
short_desc="Generic spell checking library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=95c8dd998c8fb436329d204e0edde4400b889e4e26d3f8cb888c408c9a9acc6a
long_desc="
The project aims to provide an efficient extensible abstraction
for dealing with different spell checking libraries.
Enchant is meant to provide a generic interface into various existing
spell checking libaries. These include, but are not limited to:
* Aspell/Pspell (intends to replace Ispell)
* Ispell (old as sin, could be interpreted as a defacto standard)
* MySpell/Hunspell (an OOo project, also used by Mozilla)
* Uspell (primarily Yiddish, Hebrew, and Eastern European
languages - hosted in AbiWord's CVS under the module \"uspell\")
* Hspell (Hebrew)
* Zemberek (Turkish)
* Voikko (Finnish)
* AppleSpell (Mac OSX)
Enchant is also meant to be used in a cross-platform (XP) environment.
Part of this means that Enchant wants to limit its number of external
dependencies to 0, or as close is as humanly possible. Also, any
enchant consumer (i.e. a Word Processor) should not need to know
about what backend providers Enchant knows about. In fact, Enchant
shouldn't even need to know this information itself. To accomplish
this, all of Enchant's providers are DLLs."
subpackages="devel"
Add_dependency build pkg-config
Add_dependency full glibc
Add_dependency full aspell
Add_dependency full hunspell
Add_dependency full glib