Title: [commits] (vajda) [16109] added gettext to external
Revision
16109
Author
vajda
Date
2007-12-11 15:54:28 -0800 (Tue, 11 Dec 2007)

Log Message

added gettext to external

Modified Paths

Added Paths

Diff

Modified: trunk/external/Makefile (16108 => 16109)

--- trunk/external/Makefile	2007-12-11 22:33:27 UTC (rev 16108)
+++ trunk/external/Makefile	2007-12-11 23:54:28 UTC (rev 16109)
@@ -33,6 +33,7 @@
         dateutil \
         m2crypto \
         zanshin \
+	$(GETTEXT_BUILD) \
         eggtranslations \
         pylint \
         parsedatetime \

Modified: trunk/external/Makefile.inc (16108 => 16109)

--- trunk/external/Makefile.inc	2007-12-11 22:33:27 UTC (rev 16108)
+++ trunk/external/Makefile.inc	2007-12-11 23:54:28 UTC (rev 16109)
@@ -73,6 +73,7 @@
     CONFIGOBJ_BUILD=configobj
     DOCUTILS_BUILD=docutils
     ZOPE_BUILD=zope
+    GETTEXT_BUILD=gettext
 endif
 
 ifeq ($(OS),Darwin)
@@ -120,6 +121,7 @@
     CONFIGOBJ_BUILD=configobj
     DOCUTILS_BUILD=docutils
     ZOPE_BUILD=zope
+    GETTEXT_BUILD=gettext
 endif
 
 ifeq ($(OS),Linux)
@@ -158,6 +160,7 @@
         ZOPE_BUILD=zope
     endif
     READLINE_BUILD=
+    GETTEXT_BUILD=
     OPENJDK_BUILD=openjdk
     ifeq ($(ARCH),x86_64)
         UPLOAD:=$(UPLOAD)/$(ARCH)

Property changes: trunk/external/gettext

Name: svn:ignore
   + gettext*

Added: trunk/external/gettext/Makefile (16108 => 16109)

--- trunk/external/gettext/Makefile	2007-12-11 22:33:27 UTC (rev 16108)
+++ trunk/external/gettext/Makefile	2007-12-11 23:54:28 UTC (rev 16109)
@@ -0,0 +1,38 @@
+
+VERSION=0.16.1
+RELVER=$(VERSION)-$(BRANCH_REV_PREFIX)1
+GETTEXT=$(BUILD_ROOT)/gettext
+SRC=""
+TARBALL=gettext-$(SNAP)-$(RELVER).tar.gz
+BUILD=build_$(SNAP)
+
+include ../Makefile.inc
+
+$(SRC)/Makefile:
+	cd $(SRC); ./configure --prefix=$(SRC)/$(SNAP)
+
+build: expand $(SRC)/Makefile
+	$(MAKE) -C $(SRC)
+	$(MAKE) -C $(SRC) install
+	tar -C $(SRC) -cf - $(SNAP) | tar -C $(PREFIX) -xvf -
+
+ifneq (/,$(SRC)/$(SNAP))
+clean:
+	rm -rf $(SRC)/$(SNAP)
+endif
+
+$(TARBALL):
+	tar -C $(SRC) -cvzf $@ $(SNAP)
+
+binaries: $(TARBALL)
+
+gettext-$(VERSION).tar.gz:
+	$(CURL) http://builds.osafoundation.org/external/gettext-$(VERSION).tar.gz 
+
+sources: gettext-$(VERSION).tar.gz
+
+gettext-$(VERSION)-expanded: gettext-$(VERSION).tar.gz
+	tar -xvzf gettext-$(VERSION).tar.gz
+	touch $@
+
+expand: gettext-$(VERSION)-expanded
Property changes on: trunk/external/gettext/Makefile
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to