summaryrefslogtreecommitdiffstats
path: root/base/hyphen/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-03-04 08:14:43 +0100
committertnut <thierryn1 at hispeed dot ch>2010-03-04 08:14:43 +0100
commite36991a7d34e511d677b6bcea46c5a944a7a8985 (patch)
treec51430fc29da25766e605cb90184d2763b9a291f /base/hyphen/Pkgfile
parentbe442a58216cbfdfbf0a0349ac9373f1b8a2cdf4 (diff)
downloadnutyx-pakxe-e36991a7d34e511d677b6bcea46c5a944a7a8985.tar.gz
nutyx-pakxe-e36991a7d34e511d677b6bcea46c5a944a7a8985.tar.bz2
nutyx-pakxe-e36991a7d34e511d677b6bcea46c5a944a7a8985.tar.xz
nutyx-pakxe-e36991a7d34e511d677b6bcea46c5a944a7a8985.zip
hyphen, déplacé dans base
Diffstat (limited to 'base/hyphen/Pkgfile')
-rw-r--r--base/hyphen/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/base/hyphen/Pkgfile b/base/hyphen/Pkgfile
new file mode 100644
index 000000000..c3984b34a
--- /dev/null
+++ b/base/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
+}
+