diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2016-06-02 18:31:49 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2016-06-02 18:31:49 -0400 |
commit | b5b9c72ea9fc05600bfcab6569ce89ca2185d19d (patch) | |
tree | fc92b97e871bd08979ef19467f61df82944823a9 /pcr/apertium/apertium-eo-es | |
parent | 1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff) |
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-eo-es')
-rw-r--r-- | pcr/apertium/apertium-eo-es/Makefile.am.patch | 37 | ||||
-rw-r--r-- | pcr/apertium/apertium-eo-es/PKGBUILD | 5 | ||||
-rw-r--r-- | pcr/apertium/apertium-eo-es/configure.ac.patch | 19 |
3 files changed, 61 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-eo-es/Makefile.am.patch b/pcr/apertium/apertium-eo-es/Makefile.am.patch new file mode 100644 index 000000000..fa88a4edf --- /dev/null +++ b/pcr/apertium/apertium-eo-es/Makefile.am.patch @@ -0,0 +1,37 @@ +--- ../apertium-eo-es-1.0.0/Makefile.am 2009-11-18 19:58:26.000000000 +0100 ++++ apertium-eo-es-1.0.0/Makefile.am 2010-09-15 15:28:18.000000000 +0200 +@@ -32,7 +32,7 @@ + $(PREFIX1).autogen.bin: $(BASENAME).$(LANG1).dix + apertium-validate-dictionary $(BASENAME).$(LANG1).dix + lt-comp rl $(BASENAME).$(LANG1).dix $@ +- ++ + $(BASENAME).$(LANG1).dix.translit: $(BASENAME).$(LANG1).dix + ./transliterate.sh $(BASENAME).$(LANG1).dix >$@ + +@@ -43,7 +43,7 @@ + $(PREFIX1).autopgen.bin: $(BASENAME).post-$(LANG1).dix + apertium-validate-dictionary $(BASENAME).post-$(LANG1).dix + lt-comp lr $(BASENAME).post-$(LANG1).dix $@ +- ++ + $(BASENAME).post-$(LANG1).dix.translit: $(BASENAME).post-$(LANG1).dix + ./transliterate.sh $(BASENAME).post-$(LANG1).dix >$@ + +@@ -121,11 +121,11 @@ + + install-data-local: + apertium-gen-modes modes.xml apertium-$(PREFIX1) +- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_eo_esmodesdir) +- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_eo_esmodesdir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).t2x $(apertium_eo_esdir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX1).t1x.translit $(apertium_eo_esdir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x.translit $(BASENAME).$(PREFIX1).t3x.translit $(apertium_eo_esdir) ++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_eo_esmodesdir) ++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_eo_esmodesdir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_eo_esdir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX1).t1x.translit $(DESTDIR)$(apertium_eo_esdir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t2x.translit $(BASENAME).$(PREFIX1).t3x.translit $(DESTDIR)$(apertium_eo_esdir) + + + CLEANFILES = -rf $(TARGETS) *.translit modes diff --git a/pcr/apertium/apertium-eo-es/PKGBUILD b/pcr/apertium/apertium-eo-es/PKGBUILD index e01fa7fcb..83f5986eb 100644 --- a/pcr/apertium/apertium-eo-es/PKGBUILD +++ b/pcr/apertium/apertium-eo-es/PKGBUILD @@ -29,4 +29,9 @@ build() { ./configure --prefix=/usr make || return 1 make DESTDIR="$pkgdir/" install || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install }
\ No newline at end of file diff --git a/pcr/apertium/apertium-eo-es/configure.ac.patch b/pcr/apertium/apertium-eo-es/configure.ac.patch new file mode 100644 index 000000000..73dc6b592 --- /dev/null +++ b/pcr/apertium/apertium-eo-es/configure.ac.patch @@ -0,0 +1,19 @@ +--- ../apertium-eo-es-1.0.0/configure.ac 2009-11-18 19:58:54.000000000 +0100 ++++ apertium-eo-es-1.0.0/configure.ac 2010-09-21 15:57:51.560738783 +0200 +@@ -19,8 +19,14 @@ + APERTIUM_VER=30 + ], + [ +- PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0) +- APERTIUM_VER=31 ++ PKG_CHECK_MODULES(APERTIUM, apertium-3.1 >= 3.1.0, ++ [ ++ APERTIUM_VER=31 ++ ], ++ [ ++ PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0) ++ APERTIUM_VER=32 ++ ]) + ]) + AC_SUBST(APERTIUM_VER) + ]) |