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-es-ca | |
parent | 1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff) | |
download | abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.gz abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.tar.bz2 abslibre-b5b9c72ea9fc05600bfcab6569ce89ca2185d19d.zip |
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-es-ca')
-rw-r--r-- | pcr/apertium/apertium-es-ca/Makefile.am.patch | 25 | ||||
-rw-r--r-- | pcr/apertium/apertium-es-ca/PKGBUILD | 5 | ||||
-rw-r--r-- | pcr/apertium/apertium-es-ca/configure.ac.patch | 19 |
3 files changed, 49 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-es-ca/Makefile.am.patch b/pcr/apertium/apertium-es-ca/Makefile.am.patch new file mode 100644 index 000000000..b0f9b7bfa --- /dev/null +++ b/pcr/apertium/apertium-es-ca/Makefile.am.patch @@ -0,0 +1,25 @@ +--- ../apertium-es-ca-1.2.0/Makefile.am 2009-10-15 12:51:50.000000000 +0200 ++++ apertium-es-ca-1.2.0/Makefile.am 2010-02-15 12:40:14.000000000 +0100 +@@ -229,14 +229,14 @@ + install-data-local: + apertium-gen-modes modes.xml apertium-$(PREFIX1) + cp *.mode modes/ +- $(INSTALL_DATA) $(PREFVAR1)$(PREFIX1).mode $(apertium_es_modesdir) +- $(INSTALL_DATA) $(PREFVAR1)$(PREFIX2).mode $(apertium_es_modesdir) +- $(INSTALL_DATA) $(PREFVAR2)$(PREFIX1).mode $(apertium_es_modesdir) +- $(INSTALL_DATA) $(PREFVAR2)$(PREFIX2).mode $(apertium_es_modesdir) +- $(INSTALL_DATA) es-ca_valencia.mode $(apertium_es_modesdir) +- $(INSTALL_DATA) $(PREFVAR1)$(PREFIX1)-multi.mode $(apertium_es_modesdir) +- $(INSTALL_DATA) $(PREFVAR1)$(PREFIX2)-multi.mode $(apertium_es_modesdir) +- $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX2).xml $(BASENAME).trules-$(PREFIX1).xml $(apertium_es_cadir) ++ $(INSTALL_DATA) $(PREFVAR1)$(PREFIX1).mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) $(PREFVAR1)$(PREFIX2).mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) $(PREFVAR2)$(PREFIX1).mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) $(PREFVAR2)$(PREFIX2).mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) es-ca_valencia.mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) $(PREFVAR1)$(PREFIX1)-multi.mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) $(PREFVAR1)$(PREFIX2)-multi.mode $(DESTDIR)$(apertium_es_modesdir) ++ $(INSTALL_DATA) $(BASENAME).trules-$(PREFIX2).xml $(BASENAME).trules-$(PREFIX1).xml $(DESTDIR)$(apertium_es_cadir) + + CLEANFILES = -rf $(TARGETS) modes $(PREFVAR2)$(PREFIX1).automorf.bin $(PREFVAR2)$(PREFIX1).autobil.bin \ + $(PREFVAR2)$(PREFIX2).automorf.bin $(PREFVAR2)$(PREFIX2).autobil.bin \ diff --git a/pcr/apertium/apertium-es-ca/PKGBUILD b/pcr/apertium/apertium-es-ca/PKGBUILD index 52d4effec..18df73eac 100644 --- a/pcr/apertium/apertium-es-ca/PKGBUILD +++ b/pcr/apertium/apertium-es-ca/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-es-ca/configure.ac.patch b/pcr/apertium/apertium-es-ca/configure.ac.patch new file mode 100644 index 000000000..b67902c92 --- /dev/null +++ b/pcr/apertium/apertium-es-ca/configure.ac.patch @@ -0,0 +1,19 @@ +--- ../apertium-es-ca-1.2.0/configure.ac 2009-10-15 11:36:01.000000000 +0200 ++++ apertium-es-ca-1.2.0/configure.ac 2010-09-21 16:02:34.987405444 +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 ++ ]) + ]) + ]) + ]) |