From 1a5374ba2690a3d60b2564fe1eb78294d52ab6b7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 14 May 2009 02:45:03 +0200 Subject: [PATCH] Added hunspell-1.2.8 template. --HG-- extra : convert_revision : 9c0c935f83e9e5382b67aa7350adf9af84ff34d9 --- templates/hunspell-devel | 1 + templates/hunspell/depends | 2 ++ templates/hunspell/devel.template | 20 ++++++++++++++++++++ templates/hunspell/template | 29 +++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 120000 templates/hunspell-devel create mode 100644 templates/hunspell/depends create mode 100644 templates/hunspell/devel.template create mode 100644 templates/hunspell/template diff --git a/templates/hunspell-devel b/templates/hunspell-devel new file mode 120000 index 0000000000..cdfa06984f --- /dev/null +++ b/templates/hunspell-devel @@ -0,0 +1 @@ +hunspell \ No newline at end of file diff --git a/templates/hunspell/depends b/templates/hunspell/depends new file mode 100644 index 0000000000..76acccdb98 --- /dev/null +++ b/templates/hunspell/depends @@ -0,0 +1,2 @@ +abi_depends=1.2.8 +api_depends=${abi_depends} diff --git a/templates/hunspell/devel.template b/templates/hunspell/devel.template new file mode 100644 index 0000000000..48b05bbc0d --- /dev/null +++ b/templates/hunspell/devel.template @@ -0,0 +1,20 @@ +# Template file for 'hunspelll-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run hunspelll + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + 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/share/man/man3 ${DESTDIR}/usr/share/man +} diff --git a/templates/hunspell/template b/templates/hunspell/template new file mode 100644 index 0000000000..4d2aac6f8b --- /dev/null +++ b/templates/hunspell/template @@ -0,0 +1,29 @@ +# Template file for 'hunspell' +pkgname=hunspell +sourcepkg=$pkgname +version=1.2.8 +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--with-ui" +short_desc="Improved spellchecker" +maintainer="Juan RP " +checksum=af563e13646620e608052b46974e10d0fc3e4d48b1b996f9771cbfac6dfc3c38 +long_desc=" + Hunspell is the default spell checker of OpenOffice.org office suite + and expectant spell checker of Mozilla Firefox and Thunderbird. + + Main features: + + * Unicode support. + * Conditional and multiple affixes for languages with rich morphology. + * Extended compound word support. + * Morphological analysis (in custom item and arrangement style). + * Hunspell is based on MySpell and works also with MySpell dictionaries. + * GPL/LGPL/MPL tri-license." + +# XXX Add ncursesw dependency +subpackages="devel" +Add_dependency build pkg-config +Add_dependency build bison +Add_dependency full glibc +Add_dependency full ncurses