[csw-devel] SF.net SVN: gar:[14545] csw/mgar/pkg
rthurner at users.sourceforge.net
rthurner at users.sourceforge.net
Sun May 8 19:29:01 CEST 2011
Revision: 14545
http://gar.svn.sourceforge.net/gar/?rev=14545&view=rev
Author: rthurner
Date: 2011-05-08 17:29:01 +0000 (Sun, 08 May 2011)
Log Message:
-----------
subversion-client: first version, nothing in the recipe yet to either-or allow subversion or subverison client to be installed
Added Paths:
-----------
csw/mgar/pkg/subversion-client/
csw/mgar/pkg/subversion-client/Makefile
csw/mgar/pkg/subversion-client/branches/
csw/mgar/pkg/subversion-client/tags/
csw/mgar/pkg/subversion-client/trunk/
csw/mgar/pkg/subversion-client/trunk/Makefile
csw/mgar/pkg/subversion-client/trunk/checksums
csw/mgar/pkg/subversion-client/trunk/files/
csw/mgar/pkg/subversion-client/trunk/files/fixme.sh
Copied: csw/mgar/pkg/subversion-client/Makefile (from rev 14537, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/subversion-client/Makefile (rev 0)
+++ csw/mgar/pkg/subversion-client/Makefile 2011-05-08 17:29:01 UTC (rev 14545)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+ @echo "You are in the pkg/ directory."
+
+%:
+ $(MAKE) -C trunk $*
+
+paranoid-%:
+ $(MAKE) -C trunk $* || exit 2
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+ $(MAKE) -C trunk $* || echo " *** make $* in $$i failed ***" >> $(BUILDLOG)
Property changes on: csw/mgar/pkg/subversion-client/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: svn:externals
+ gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
Added: csw/mgar/pkg/subversion-client/trunk/Makefile
===================================================================
--- csw/mgar/pkg/subversion-client/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/subversion-client/trunk/Makefile 2011-05-08 17:29:01 UTC (rev 14545)
@@ -0,0 +1,64 @@
+# $Id$
+#
+
+NAME = svn-client
+VERSION = 1.6.16
+DISTNAME = subversion-$(VERSION)
+CATEGORIES = utils
+
+DESCRIPTION = subversion version control, client
+define BLURB
+ The goal of the Subversion project is to build a version control system
+ that is a compelling replacement for CVS in the open source community.
+endef
+
+VENDOR_URL = http://subversion.apache.org/
+MASTER_SITES = http://subversion.tigris.org/downloads/
+#MASTER_SITES = http://orac.ece.utexas.edu/pub/svn/1.6.7/yuletide-eggnog/
+DISTFILES = $(DISTNAME).tar.bz2
+DISTFILES += fixme.sh
+
+UFILES_REGEX = subversion-(\d+(?:\.\d+)*).tar.bz2
+
+
+PACKAGES = CSWsvn-client
+SPKG_DESC_CSWsvn = subversion version control client
+CATALOGNAME_CSWsvn = svn-client
+RUNTIME_DEP_PKGS_CSWsvn += CSWexpat
+RUNTIME_DEP_PKGS_CSWsvn += CSWggettextrt
+RUNTIME_DEP_PKGS_CSWsvn += CSWiconv
+RUNTIME_DEP_PKGS_CSWsvn += CSWneon
+RUNTIME_DEP_PKGS_CSWsvn += CSWlibserf0-0
+RUNTIME_DEP_PKGS_CSWsvn += CSWoldaprt
+RUNTIME_DEP_PKGS_CSWsvn += CSWsasl
+RUNTIME_DEP_PKGS_CSWsvn += CSWsqlite3rt
+RUNTIME_DEP_PKGS_CSWsvn += CSWzlib
+RUNTIME_DEP_PKGS_CSWsvn += CSWapr
+RUNTIME_DEP_PKGS_CSWsvn += CSWapr-util
+
+EXTRA_LINKER_FLAGS = -lintl -liconv
+
+# Only add $ISALIST to dirs which ship optimized versions (done by explicitly
+# excluding those lib dirs which are known not to ship optimized versions).
+RUNPATH_ISALIST = $(libdir)
+
+STRIP_LIBTOOL = 1
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --without-apxs
+CONFIGURE_ARGS += --without-berkeley-db
+CONFIGURE_ARGS += --with-neon=$(prefix)
+CONFIGURE_ARGS += --with-serf=$(prefix)
+CONFIGURE_ARGS += --with-ssl=$(PREFIX)
+CONFIGURE_ARGS += --disable-static
+CONFIGURE_ARGS += --without-swig
+CONFIGURE_ARGS += --with-zlib=$(prefix)
+
+TEST_TARGET = check
+
+include gar/category.mk
+
+post-configure-modulated:
+ @echo "~~~ Fixing Libtool ~~~"
+ $(DOWNLOADDIR)/fixme.sh $(WORKSRC)
+
Property changes on: csw/mgar/pkg/subversion-client/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/subversion-client/trunk/checksums
===================================================================
--- csw/mgar/pkg/subversion-client/trunk/checksums (rev 0)
+++ csw/mgar/pkg/subversion-client/trunk/checksums 2011-05-08 17:29:01 UTC (rev 14545)
@@ -0,0 +1 @@
+32f25a6724559fe8691d1f57a63f636e subversion-1.6.16.tar.bz2
Added: csw/mgar/pkg/subversion-client/trunk/files/fixme.sh
===================================================================
--- csw/mgar/pkg/subversion-client/trunk/files/fixme.sh (rev 0)
+++ csw/mgar/pkg/subversion-client/trunk/files/fixme.sh 2011-05-08 17:29:01 UTC (rev 14545)
@@ -0,0 +1,49 @@
+#!/bin/bash
+####################################################
+#
+# fixme.sh
+# Intended to remove the use of libtool's
+# pseudo-libraries for opencsw builds.
+#
+# Author: Mike Watters mwatters_at_opencsw.org
+# Initial Version: 0.1
+#
+####################################################
+
+umask 0022
+PATH=/opt/csw/bin
+
+if [ $# -ne 1 ]; then
+ gecho "USAGE: $(basename $0) WORKSRC"
+ exit 1
+fi
+BASEPATH=$1
+
+## Fix Makefiles
+for mk in $(gfind ${BASEPATH} -name Makefile -print); do
+ LT_FILES=$(ggrep '/opt/csw.*/lib/.*\.la' ${mk} | \
+ gsed "s/^.*\(\/opt\/csw.*\/lib\/.*\.la\).*$/\1/")
+
+ for file in ${LT_FILES}; do
+ LIB_NAME=$(ggrep 'dlname=' ${file} | \
+ gsed -e "s/.*'\(.*\)'/\1/" \
+ -e "s/^lib//" \
+ -e "s/\.so.*$//")
+ fixpath=$(gecho $file |gsed 's/\//\\\//g')
+ gsed "s/${fixpath}/-l${LIB_NAME}/g" ${mk} >Makefile.new
+ gmv Makefile.new ${mk}
+ done
+done
+
+## Fix libtool Script
+for lt in $(gfind ${BASEPATH} -name libtool -print); do
+ gsed "/for search_ext in .*\.la/s/\.la//" ${lt} >${lt}.new
+ gmv ${lt}.new ${lt}
+done
+
+LTMAIN=$(gfind ${BASEPATH} -name ltmain.sh -print)
+if [ -f ${LTMAIN} ]; then
+ gsed "/for search_ext in .*\.la/s/\.la//" ${LTMAIN} >${LTMAIN}.new
+ gmv ${LTMAIN}.new ${LTMAIN}
+fi
+
Property changes on: csw/mgar/pkg/subversion-client/trunk/files/fixme.sh
___________________________________________________________________
Added: svn:executable
+ *
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