From b5b9c72ea9fc05600bfcab6569ce89ca2185d19d Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Thu, 2 Jun 2016 18:31:49 -0400 Subject: import more apertium files --- pcr/apertium/apertium-oc-es/Makefile.am.patch | 75 ++++++++++++++++++++++++++ pcr/apertium/apertium-oc-es/PKGBUILD | 5 ++ pcr/apertium/apertium-oc-es/configure.ac.patch | 34 ++++++++++++ pcr/apertium/apertium-oc-es/es-oc.t1x.patch | 0 pcr/apertium/apertium-oc-es/oc-es.t1x.patch | 20 +++++++ 5 files changed, 134 insertions(+) create mode 100644 pcr/apertium/apertium-oc-es/Makefile.am.patch create mode 100644 pcr/apertium/apertium-oc-es/configure.ac.patch create mode 100644 pcr/apertium/apertium-oc-es/es-oc.t1x.patch create mode 100644 pcr/apertium/apertium-oc-es/oc-es.t1x.patch (limited to 'pcr/apertium/apertium-oc-es') diff --git a/pcr/apertium/apertium-oc-es/Makefile.am.patch b/pcr/apertium/apertium-oc-es/Makefile.am.patch new file mode 100644 index 000000000..5afc6cd6f --- /dev/null +++ b/pcr/apertium/apertium-oc-es/Makefile.am.patch @@ -0,0 +1,75 @@ +--- ../apertium-oc-es-1.0.5/Makefile.am 2008-07-21 14:53:50.000000000 +0200 ++++ apertium-oc-es-1.0.5/Makefile.am 2010-09-15 16:29:38.000000000 +0200 +@@ -19,7 +19,7 @@ + $(PREFIX2).autogen.bin $(PREFIX2b).autogen.bin \ + $(PREFIX1).autopgen.bin $(PREFIX1b).autopgen.bin \ + $(PREFIX2).autopgen.bin $(PREFIX2b).autopgen.bin modes +- ++ + TARGETS = $(TARGETS_COMMON) $(PREFIX1).t1x.bin $(PREFIX1).t2x.bin $(PREFIX1).t3x.bin \ + $(PREFIX1b).t1x.bin $(PREFIX1b).t2x.bin $(PREFIX1b).t3x.bin \ + $(PREFIX2).t1x.bin $(PREFIX2).t2x.bin $(PREFIX2).t3x.bin \ +@@ -72,7 +72,7 @@ + + .deps/$(LANG2b).post.dix: $(BASENAME).post-$(LANG2).dix + xsltproc --stringparam alt $(LANG1b) alt.xsl $(BASENAME).post-$(LANG2).dix >$@ +- ++ + $(PREFIX1).automorf.bin: .deps/$(LANG1).dix + apertium-validate-dictionary .deps/$(LANG1).dix + lt-comp lr .deps/$(LANG1).dix $@ +@@ -136,7 +136,7 @@ + $(PREFIX2b).autopgen.bin: .deps/$(LANG1b).post.dix + apertium-validate-dictionary .deps/$(LANG1b).post.dix + lt-comp lr .deps/$(LANG1b).post.dix $@ +- ++ + $(PREFIX1).t1x: $(BASENAME).$(PREFIX1).t1x + xsltproc --stringparam alt $(LANG1) alt.xsl $(BASENAME).$(PREFIX1).t1x > $@ + apertium-validate-transfer $@ +@@ -168,7 +168,7 @@ + $(PREFIX2b).t2x: $(BASENAME).$(PREFIX2).t2x + xsltproc --stringparam alt $(LANG1b) alt.xsl $(BASENAME).$(PREFIX2).t2x > $@ + apertium-validate-interchunk $@ +- ++ + $(PREFIX1).t3x: $(BASENAME).$(PREFIX1).t3x + xsltproc --stringparam alt $(LANG1) alt.xsl $(BASENAME).$(PREFIX1).t3x > $@ + apertium-validate-postchunk $@ +@@ -234,18 +234,18 @@ + $(BASENAME).$(PREFIX1).t2x $(BASENAME).$(PREFIX2).t2x \ + $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t3x + +- ++ + modes: modes.xml Makefile.am + apertium-gen-modes modes.xml + @cp *.mode modes/ +- ++ + $(INSTALL_MODES): modes.xml Makefile.am + apertium-gen-modes modes.xml + @cp *.mode modes/ + + apertium_oc_esdir=$(prefix)/share/apertium/apertium-$(PREFIX1)/ + apertium_oc_esmodesdir=$(prefix)/share/apertium/modes/ +- ++ + apertium_oc_es_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \ + $(PREFIX1).autobil.bin $(PREFIX2).autobil.bin \ + $(PREFIX1).autogen.bin $(PREFIX2).autogen.bin \ +@@ -267,9 +267,9 @@ + + install-data-local: + apertium-gen-modes modes.xml apertium-$(PREFIX1) +- $(INSTALL_DATA) oc-es.mode $(apertium_oc_esmodesdir) +- $(INSTALL_DATA) es-oc.mode $(apertium_oc_esmodesdir) +- $(INSTALL_DATA) oc_aran-es.mode $(apertium_oc_esmodesdir) +- $(INSTALL_DATA) es-oc_aran.mode $(apertium_oc_esmodesdir) +- ++ $(INSTALL_DATA) oc-es.mode $(DESTDIR)$(apertium_oc_esmodesdir) ++ $(INSTALL_DATA) es-oc.mode $(DESTDIR)$(apertium_oc_esmodesdir) ++ $(INSTALL_DATA) oc_aran-es.mode $(DESTDIR)$(apertium_oc_esmodesdir) ++ $(INSTALL_DATA) es-oc_aran.mode $(DESTDIR)$(apertium_oc_esmodesdir) ++ + CLEANFILES = -r $(TARGETS) diff --git a/pcr/apertium/apertium-oc-es/PKGBUILD b/pcr/apertium/apertium-oc-es/PKGBUILD index 368c645b3..c77245309 100644 --- a/pcr/apertium/apertium-oc-es/PKGBUILD +++ b/pcr/apertium/apertium-oc-es/PKGBUILD @@ -35,4 +35,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-oc-es/configure.ac.patch b/pcr/apertium/apertium-oc-es/configure.ac.patch new file mode 100644 index 000000000..f15712550 --- /dev/null +++ b/pcr/apertium/apertium-oc-es/configure.ac.patch @@ -0,0 +1,34 @@ +--- ../apertium-oc-es-1.0.5/configure.ac 2008-07-21 14:53:50.000000000 +0200 ++++ apertium-oc-es-1.0.5/configure.ac 2010-09-15 16:57:39.000000000 +0200 +@@ -11,7 +11,7 @@ + AC_PROG_AWK + AC_CONFIG_HEADER([config]) + +-AC_DEFUN(PKG_CHECK_APERTIUM, [ ++AC_DEFUN([PKG_CHECK_APERTIUM], [ + APERTIUM_VER=0 + PKG_CHECK_MODULES(APERTIUM, apertium-1.0 >= 1.0.0, + [ +@@ -23,8 +23,20 @@ + APERTIUM_VER=20 + ], + [ +- PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0) +- APERTIUM_VER=30 ++ PKG_CHECK_MODULES(APERTIUM, apertium-3.0 >= 3.0.0, ++ [ ++ APERTIUM_VER=30 ++ ], ++ [ ++ 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) diff --git a/pcr/apertium/apertium-oc-es/es-oc.t1x.patch b/pcr/apertium/apertium-oc-es/es-oc.t1x.patch new file mode 100644 index 000000000..e69de29bb diff --git a/pcr/apertium/apertium-oc-es/oc-es.t1x.patch b/pcr/apertium/apertium-oc-es/oc-es.t1x.patch new file mode 100644 index 000000000..e6a756a76 --- /dev/null +++ b/pcr/apertium/apertium-oc-es/oc-es.t1x.patch @@ -0,0 +1,20 @@ +--- ../apertium-oc-es-1.0.5/apertium-oc-es.oc-es.t1x 2008-07-18 20:19:11.000000000 +0200 ++++ apertium-oc-es-1.0.5/apertium-oc-es.oc-es.t1x 2010-09-15 17:10:00.000000000 +0200 +@@ -1189,7 +1189,7 @@ + + + +- ++ + + + +@@ -1198,7 +1198,7 @@ + + + +- ++ + + + -- cgit v1.2.3