summaryrefslogtreecommitdiffstats
path: root/extra/hyphen/Pkgfile
diff options
context:
space:
mode:
authorsibel <sibel@free.fr>2010-02-18 16:07:21 +0100
committersibel <sibel@free.fr>2010-02-18 16:07:21 +0100
commit0601fc038226c97ed3f9395842a82fd329e9d468 (patch)
tree621207d9b005e2d7169bd6278e0d1f79c1865c28 /extra/hyphen/Pkgfile
parent1b429725e65a5cd5c9c9ebd33df59c959b8ee585 (diff)
downloadnutyx-extra-0601fc038226c97ed3f9395842a82fd329e9d468.tar.gz
nutyx-extra-0601fc038226c97ed3f9395842a82fd329e9d468.tar.bz2
nutyx-extra-0601fc038226c97ed3f9395842a82fd329e9d468.tar.xz
nutyx-extra-0601fc038226c97ed3f9395842a82fd329e9d468.zip
Ajout de hyphen#2.4-1
Diffstat (limited to 'extra/hyphen/Pkgfile')
-rw-r--r--extra/hyphen/Pkgfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/hyphen/Pkgfile b/extra/hyphen/Pkgfile
new file mode 100644
index 000000000..544c73922
--- /dev/null
+++ b/extra/hyphen/Pkgfile
@@ -0,0 +1,33 @@
+# Description: Hunspell is the default spell checker of OpenOffice.org and Mozilla Firefox 3 & Thunderbird
+# URL: http://hunspell.sf.net
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: glibc, perl
+
+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
+}
+