summaryrefslogtreecommitdiffstats
path: root/extra/hyphen/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 16:19:04 +0200
committertnut <tnut at nutyx dot com>2011-10-15 16:19:04 +0200
commit79e2053abd24316beb07ba98b5a0b1072fb0ecd1 (patch)
treefc13e9cbaf570aa758ebb5ebfcce1faff546adbc /extra/hyphen/Pkgfile
parentbfb5737aa37042efb77a267e5e9587141dc04b51 (diff)
downloadnutyx-pakxe-79e2053abd24316beb07ba98b5a0b1072fb0ecd1.tar.gz
nutyx-pakxe-79e2053abd24316beb07ba98b5a0b1072fb0ecd1.tar.bz2
nutyx-pakxe-79e2053abd24316beb07ba98b5a0b1072fb0ecd1.tar.xz
nutyx-pakxe-79e2053abd24316beb07ba98b5a0b1072fb0ecd1.zip
hyphen dans extra
Diffstat (limited to 'extra/hyphen/Pkgfile')
-rw-r--r--extra/hyphen/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/hyphen/Pkgfile b/extra/hyphen/Pkgfile
new file mode 100644
index 000000000..c3984b34a
--- /dev/null
+++ b/extra/hyphen/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Correcteur d'orthographe par défaut de openoffice, de firefox et thunderbird
+# URL: http://hunspell.sf.net
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+
+name=hyphen
+version=2.4
+release=1
+source=(http://downloads.sourceforge.net/hunspell/$name-$version.tar.gz )
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr --disable-static
+ make
+ make DESTDIR=$PKG install-libLTLIBRARIES
+ make DESTDIR=$PKG install-binSCRIPTS
+ make DESTDIR=$PKG install-includeHEADERS
+
+ # license
+ install -D -m644 COPYING $PKG/usr/share/licenses/$name/LICENSE
+
+
+ make DESTDIR=$PKG install-hyphDATA
+
+ pushd $PKG/usr/share/hyphen/
+ fr_FR_aliases="fr_FR fr_CA fr_BE"
+ for lang in $fr_FR_aliases; do
+ ln -s hyph_fr_FR.dic hyph_$lang.dic
+ done
+ popd
+}
+