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-pt-ca | |
parent | 1e4284afcc1c32026ff03c8919ec8328b8f06bf9 (diff) |
import more apertium files
Diffstat (limited to 'pcr/apertium/apertium-pt-ca')
-rw-r--r-- | pcr/apertium/apertium-pt-ca/Makefile.am.patch | 29 | ||||
-rw-r--r-- | pcr/apertium/apertium-pt-ca/PKGBUILD | 5 | ||||
-rw-r--r-- | pcr/apertium/apertium-pt-ca/configure.ac.patch | 19 |
3 files changed, 53 insertions, 0 deletions
diff --git a/pcr/apertium/apertium-pt-ca/Makefile.am.patch b/pcr/apertium/apertium-pt-ca/Makefile.am.patch new file mode 100644 index 000000000..623921ce9 --- /dev/null +++ b/pcr/apertium/apertium-pt-ca/Makefile.am.patch @@ -0,0 +1,29 @@ +--- ../apertium-pt-ca-0.8.1/Makefile.am 2009-03-04 09:23:13.000000000 +0100 ++++ apertium-pt-ca-0.8.1/Makefile.am 2010-09-15 16:02:22.000000000 +0200 +@@ -69,7 +69,7 @@ + rm $(BASENAME).$(LANG1).dix + rm $(BASENAME).$(LANG2).dix + rm $(BASENAME).$(PREFIX1).dix +- ++ + apertium_pt_cadir=$(prefix)/share/apertium/apertium-$(PREFIX1)/ + apertium_pt_modesdir=$(prefix)/share/apertium/modes/ + +@@ -88,12 +88,12 @@ + $(PREFIX1).t1x.bin \ + $(PREFIX2).t1x.bin \ + $(PREFIX1).mode $(PREFIX2).mode modes.xml +- ++ + install-data-local: + apertium-gen-modes modes.xml apertium-$(PREFIX1) +- $(INSTALL_DATA) $(PREFIX1).mode $(apertium_pt_modesdir) +- $(INSTALL_DATA) $(PREFIX2).mode $(apertium_pt_modesdir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(apertium_pt_cadir) +- $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(apertium_pt_cadir) ++ $(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_pt_modesdir) ++ $(INSTALL_DATA) $(PREFIX2).mode $(DESTDIR)$(apertium_pt_modesdir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX1).t1x $(DESTDIR)$(apertium_pt_cadir) ++ $(INSTALL_DATA) $(BASENAME).$(PREFIX2).t1x $(DESTDIR)$(apertium_pt_cadir) + + CLEANFILES = -rf $(TARGETS_COMMON) modes diff --git a/pcr/apertium/apertium-pt-ca/PKGBUILD b/pcr/apertium/apertium-pt-ca/PKGBUILD index b38d2c83f..2436273c5 100644 --- a/pcr/apertium/apertium-pt-ca/PKGBUILD +++ b/pcr/apertium/apertium-pt-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-pt-ca/configure.ac.patch b/pcr/apertium/apertium-pt-ca/configure.ac.patch new file mode 100644 index 000000000..d0d0a65aa --- /dev/null +++ b/pcr/apertium/apertium-pt-ca/configure.ac.patch @@ -0,0 +1,19 @@ +--- ../apertium-pt-ca-0.8.1/configure.ac 2009-03-04 09:23:25.000000000 +0100 ++++ apertium-pt-ca-0.8.1/configure.ac 2010-09-21 16:33:40.230738778 +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) + ]) |