[csw-devel] SF.net SVN: gar:[10890] csw/mgar/pkg/gettext/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Thu Sep 2 03:29:33 CEST 2010
Revision: 10890
http://gar.svn.sourceforge.net/gar/?rev=10890&view=rev
Author: bdwalton
Date: 2010-09-02 01:29:33 +0000 (Thu, 02 Sep 2010)
Log Message:
-----------
gettext: make the post-install routines generic to more easily handle multiple lib version cruft
Modified Paths:
--------------
csw/mgar/pkg/gettext/trunk/Makefile
Modified: csw/mgar/pkg/gettext/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gettext/trunk/Makefile 2010-09-01 23:33:15 UTC (rev 10889)
+++ csw/mgar/pkg/gettext/trunk/Makefile 2010-09-02 01:29:33 UTC (rev 10890)
@@ -84,6 +84,8 @@
# just until checkpkg doesn't squawk about this.
CHECKPKG_OVERRIDES_CSWggettext += missing-dependency|CSWemacscommon
+SHELL = /bin/bash
+
include gar/category.mk
PATH := /opt/csw/gnu:$(PATH)
@@ -93,26 +95,21 @@
post-install-isa-sparcv8:
@mkdir $(INSTALLISADIR)/opt/csw/share/java
@mv $(INSTALLISADIR)/opt/csw/share/gettext/libintl.jar $(INSTALLISADIR)/opt/csw/share/java
- @cp $(FILEDIR)/libgettextlib-0.14.1.so.s $(INSTALLISADIR)/opt/csw/lib/libgettextlib-0.14.1.so
- @cp $(FILEDIR)/libintl.so.2.s $(INSTALLISADIR)/opt/csw/lib/libintl.so.2
- @cp $(FILEDIR)/libintl.so.3.s $(INSTALLISADIR)/opt/csw/lib/libintl.so.3
- $(DONADA)
+ @( for f in $(FILEDIR)/*.s; do gcp $$f $(INSTALLISADIR)/opt/csw/lib/$$(gbasename $$f .s); done )
+ $(MAKECOOKIE)
post-install-isa-sparcv9:
@rm $(INSTALLISADIR)/opt/csw/share/gettext/libintl.jar
- @cp $(FILEDIR)/libgettextlib-0.14.1.so.s9 $(INSTALLISADIR)/opt/csw/lib/64/libgettextlib-0.14.1.so
- @cp $(FILEDIR)/libintl.so.2.s9 $(INSTALLISADIR)/opt/csw/lib/64/libintl.so.2
- @cp $(FILEDIR)/libintl.so.3.s9 $(INSTALLISADIR)/opt/csw/lib/64/libintl.so.3
- $(DONADA)
+ @( for f in $(FILEDIR)/*.s9; do gcp $$f $(INSTALLISADIR)/opt/csw/lib/$$(gbasename $$f .s9); done )
+ $(MAKECOOKIE)
post-install-isa-i386:
@mkdir $(INSTALLISADIR)/opt/csw/share/java
@mv $(INSTALLISADIR)/opt/csw/share/gettext/libintl.jar $(INSTALLISADIR)/opt/csw/share/java
- @cp $(FILEDIR)/libgettextlib-0.14.1.so.i $(INSTALLISADIR)/opt/csw/lib/libgettextlib-0.14.1.so
- @cp $(FILEDIR)/libintl.so.2.i $(INSTALLISADIR)/opt/csw/lib/libintl.so.2
- @cp $(FILEDIR)/libintl.so.3.i $(INSTALLISADIR)/opt/csw/lib/libintl.so.3
- $(DONADA)
+ @( for f in $(FILEDIR)/*.i; do gcp $$f $(INSTALLISADIR)/opt/csw/lib/$$(gbasename $$f .i); done )
+ $(MAKECOOKIE)
post-install-isa-amd64:
@rm $(INSTALLISADIR)/opt/csw/share/gettext/libintl.jar
- $(DONADA)
+ @( for f in $(FILEDIR)/*.amd64; do gcp $$f $(INSTALLISADIR)/opt/csw/lib/$$(gbasename $$f .amd64); done )
+ $(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list