summaryrefslogtreecommitdiffstats
path: root/hyphen/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /hyphen/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'hyphen/Pkgfile')
-rw-r--r--hyphen/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/hyphen/Pkgfile b/hyphen/Pkgfile
new file mode 100644
index 000000000..c3984b34a
--- /dev/null
+++ b/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
+}
+