From 2027d5d5f5cb009ff4bdc78878f701da521abb4a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 14 May 2009 02:58:40 +0200 Subject: [PATCH] Added enchant-1.4.2 template. --HG-- extra : convert_revision : d135d59627d3ff7b503b6e2b9a9e43f38b7fbe17 --- templates/enchant-devel | 1 + templates/enchant/depends | 2 ++ templates/enchant/devel.template | 20 ++++++++++++++++ templates/enchant/template | 40 ++++++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+) create mode 120000 templates/enchant-devel create mode 100644 templates/enchant/depends create mode 100644 templates/enchant/devel.template create mode 100644 templates/enchant/template diff --git a/templates/enchant-devel b/templates/enchant-devel new file mode 120000 index 00000000000..58fecba7d86 --- /dev/null +++ b/templates/enchant-devel @@ -0,0 +1 @@ +enchant \ No newline at end of file diff --git a/templates/enchant/depends b/templates/enchant/depends new file mode 100644 index 00000000000..d5ac92c8549 --- /dev/null +++ b/templates/enchant/depends @@ -0,0 +1,2 @@ +abi_depends=1.4.2 +api_depends=${abi_depends} diff --git a/templates/enchant/devel.template b/templates/enchant/devel.template new file mode 100644 index 00000000000..f154ce0b95a --- /dev/null +++ b/templates/enchant/devel.template @@ -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 +} diff --git a/templates/enchant/template b/templates/enchant/template new file mode 100644 index 00000000000..4c693f24d60 --- /dev/null +++ b/templates/enchant/template @@ -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 " +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