[arch-commits] Commit in icu/trunk (PKGBUILD icu.icu7567.libctest.patch)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Apr 17 16:19:47 UTC 2010


    Date: Saturday, April 17, 2010 @ 12:19:46
  Author: andyrtr
Revision: 77753

upgpkg: icu 4.4-2
fix #19117

Added:
  icu/trunk/icu.icu7567.libctest.patch
Modified:
  icu/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   11 ++++++++---
 icu.icu7567.libctest.patch |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-17 16:18:14 UTC (rev 77752)
+++ PKGBUILD	2010-04-17 16:19:46 UTC (rev 77753)
@@ -4,17 +4,22 @@
 
 pkgname=icu
 pkgver=4.4
-pkgrel=1
+pkgrel=2
 pkgdesc="International Components for Unicode library"
 arch=(i686 x86_64)
 url="http://www.icu-project.org/"
 license=('custom:"icu"')
 depends=('gcc-libs' 'sh')
 source=(#http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz)
-	http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver/./_}-src.tgz)
-md5sums=('36b77e68e73f0ee9f7bb862629e33342')
+	http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver/./_}-src.tgz
+	icu.icu7567.libctest.patch)
+md5sums=('36b77e68e73f0ee9f7bb862629e33342'
+         'e3f89790605c739e693fc454c0332065')
 
 build() {
+  # fix missing libicutest.so.44, patch taken from Fedora
+  cd ${srcdir}/icu
+  patch -Np1 -i ${srcdir}/icu.icu7567.libctest.patch || return 1
   cd ${srcdir}/icu/source
   ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
   make || return 1

Added: icu.icu7567.libctest.patch
===================================================================
--- icu.icu7567.libctest.patch	                        (rev 0)
+++ icu.icu7567.libctest.patch	2010-04-17 16:19:46 UTC (rev 77753)
@@ -0,0 +1,32 @@
+Index: /icu/trunk/source/tools/ctestfw/Makefile.in
+===================================================================
+--- icu/source/tools/ctestfw/Makefile.in (revision 26596)
++++ icu/source/tools/ctestfw/Makefile.in (revision 27878)
+@@ -80,4 +80,26 @@
+ 
+ install-library: all-local
++	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
++ifneq ($(ENABLE_STATIC),)
++	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
++endif
++ifneq ($(ENABLE_SHARED),)
++	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
++ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
++	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
++ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
++	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
++endif
++endif
++ifneq ($(IMPORT_LIB_EXT),)
++	$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
++ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
++	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
++endif
++ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
++	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
++endif
++endif
++endif
+ 
+ dist-local:
+




More information about the arch-commits mailing list