summaryrefslogtreecommitdiff
path: root/pcr/apertium/apertium-en-gl
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2016-06-02 18:31:49 -0400
committerGaming4JC <g4jc@openmailbox.org>2016-06-02 18:31:49 -0400
commitb5b9c72ea9fc05600bfcab6569ce89ca2185d19d (patch)
treefc92b97e871bd08979ef19467f61df82944823a9 /pcr/apertium/apertium-en-gl
parent1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff)
downloadabslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.gz
abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.bz2
abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.zip
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-en-gl')
-rw-r--r--pcr/apertium/apertium-en-gl/Makefile.am.patch28
-rw-r--r--pcr/apertium/apertium-en-gl/PKGBUILD5
-rw-r--r--pcr/apertium/apertium-en-gl/configure.ac.patch19
3 files changed, 52 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-en-gl/Makefile.am.patch b/pcr/apertium/apertium-en-gl/Makefile.am.patch
new file mode 100644
index 000000000..6d2a491d0
--- /dev/null
+++ b/pcr/apertium/apertium-en-gl/Makefile.am.patch
@@ -0,0 +1,28 @@
+--- ../apertium-en-gl-0.5.1/Makefile.am 2008-11-19 08:57:38.000000000 +0100
++++ apertium-en-gl-0.5.1/Makefile.am 2010-09-15 16:26:33.000000000 +0200
+@@ -104,7 +104,7 @@
+ $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x \
+ modes.xml
+
+-
++
+ apertium_en_gl_DATA=$(PREFIX1).automorf.bin $(PREFIX2).automorf.bin \
+ $(PREFIX1).autobil.bin $(PREFIX2).autobil.bin \
+ $(PREFIX1).autogen.bin $(PREFIX2).autogen.bin \
+@@ -130,11 +130,11 @@
+
+ install-data-local:
+ apertium-gen-modes modes.xml apertium-$(PREFIX1)
+- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_en_modesdir)
+- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_en_modesdir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).t2x $(apertium_en_gldir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t1x $(apertium_en_gldir)
+- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(apertium_en_gldir)
++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_en_modesdir)
++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_en_modesdir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(BASENAME).$(PREFIX1).t2x $(DESTDIR)$(apertium_en_gldir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t3x $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_en_gldir)
++ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t2x $(BASENAME).$(PREFIX2).t3x $(DESTDIR)$(apertium_en_gldir)
+
+ CLEANFILES = -rf $(TARGETS) modes
+
diff --git a/pcr/apertium/apertium-en-gl/PKGBUILD b/pcr/apertium/apertium-en-gl/PKGBUILD
index d1349c3a0..2926e33ce 100644
--- a/pcr/apertium/apertium-en-gl/PKGBUILD
+++ b/pcr/apertium/apertium-en-gl/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-en-gl/configure.ac.patch b/pcr/apertium/apertium-en-gl/configure.ac.patch
new file mode 100644
index 000000000..4b9b093f3
--- /dev/null
+++ b/pcr/apertium/apertium-en-gl/configure.ac.patch
@@ -0,0 +1,19 @@
+--- ../apertium-en-gl-0.5.1/configure.ac 2008-11-19 08:41:42.000000000 +0100
++++ apertium-en-gl-0.5.1/configure.ac 2010-09-21 15:43:39.507405444 +0200
+@@ -27,8 +27,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
++ ])
+ ])
+ ])
+ ])