[csw-devel] SF.net SVN: gar:[8038] csw/mgar/pkg/pcb/trunk/Makefile

trygvis at users.sourceforge.net trygvis at users.sourceforge.net
Sun Jan 17 11:40:28 CET 2010


Revision: 8038
          http://gar.svn.sourceforge.net/gar/?rev=8038&view=rev
Author:   trygvis
Date:     2010-01-17 10:40:28 +0000 (Sun, 17 Jan 2010)

Log Message:
-----------
wip

Modified Paths:
--------------
    csw/mgar/pkg/pcb/trunk/Makefile

Modified: csw/mgar/pkg/pcb/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pcb/trunk/Makefile	2010-01-17 01:59:18 UTC (rev 8037)
+++ csw/mgar/pkg/pcb/trunk/Makefile	2010-01-17 10:40:28 UTC (rev 8038)
@@ -70,13 +70,16 @@
 
 include gar/category.mk
 
-post-extract-modulated:
-	@echo " ==> Renaming files (' ' => '_')"
-	@find $(WORKSRC)/lib/pcblib-newlib -name \*\ \* | \
-		while read f; \
-		do \
-			mv "$$f" `echo $$f | tr " " _`; \
-		done
+post-install-modulated:
+	@echo " ==> Packaging up lib/"
+	@echo " DESTDIR=" $(DESTDIR)
+	false
+	mkdir -p $(DESTDIR)/var/opt/csw/pcb/
+	gtar cf - -C $(DESTDIR)/lib . | gzip -c - > $(DESTDIR)/var/opt/csw/pcb/lib.tar.gz
+	rm -rf $(DESTDIR)/opt/csw/share/pcb/lib
+	false
+	@$(MAKECOOKIE)
 
 post-install-modulated:
 	@rmdir $(DESTDIR)/opt/csw/share/pcb-20081128
+	@$(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