[csw-devel] SF.net SVN: gar:[10715] csw/mgar/pkg/rbgems/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Wed Aug 11 04:19:58 CEST 2010
Revision: 10715
http://gar.svn.sourceforge.net/gar/?rev=10715&view=rev
Author: bdwalton
Date: 2010-08-11 02:19:57 +0000 (Wed, 11 Aug 2010)
Log Message:
-----------
rbgems category: integrate gem2pkg script in newpkg target
Modified Paths:
--------------
csw/mgar/pkg/rbgems/Makefile
Modified: csw/mgar/pkg/rbgems/Makefile
===================================================================
--- csw/mgar/pkg/rbgems/Makefile 2010-08-11 00:54:45 UTC (rev 10714)
+++ csw/mgar/pkg/rbgems/Makefile 2010-08-11 02:19:57 UTC (rev 10715)
@@ -36,29 +36,20 @@
newpkg-%: dir = $(subst ::,-,$*)
newpkg-%:
@svn mkdir $(dir) $(dir)/tags $(dir)/branches $(dir)/trunk $(dir)/trunk/files
- @(echo "GARNAME = $(dir)"; \
- echo "GARVERSION = 1.0"; \
- echo "CATEGORIES = rbgems"; \
- echo "AUTHOR = MYSELF"; \
- echo ""; \
- echo "DESCRIPTION = Brief description"; \
- echo "define BLURB"; \
- echo " Long description"; \
- echo "endef"; \
- echo ""; \
- echo "PACKAGES = CSW$(catalogname)"; \
- echo "CATALOGNAME = rb_$(catalogname)"; \
- echo ""; \
- echo "include gar/category.mk"; \
- ) > $(dir)/trunk/Makefile
- @touch $(dir)/trunk/checksums
- @svn add $(dir)/trunk/Makefile $(dir)/trunk/checksums
- @echo "cookies\ndownload\nwork\n" | svn propset svn:ignore -F /dev/fd/0 $(dir)/trunk
- @echo "gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2" | svn propset svn:externals -F /dev/fd/0 $(dir)/trunk
+
@if [ -d ../../gar/v2 ]; then \
ln -s ../../../../gar/v2 $(dir)/trunk/gar; \
+ cd $(dir)/trunk/gar; svn update; \
else \
svn co https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2 $(dir)/trunk/gar; \
fi
+ @echo "gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2" | svn propset svn:externals -F /dev/fd/0 $(dir)/trunk
+ @(cd $(dir)/trunk/; gem fetch $*; gar/bin/gem2pkg *gem > Makefile; rm *gem)
+ @( cd $(dir)/trunk; gmake fetch; gmake makesums; gmake garchive );
+ @svn add $(dir)/trunk/Makefile $(dir)/trunk/checksums
+ @echo "work\n" | svn propset svn:ignore -F /dev/fd/0 $(dir)/trunk
@echo
@echo "Your package is set up for editing at $(dir)/trunk"
+
+
+
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