[csw-devel] SF.net SVN: gar:[17017] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Fri Feb 10 17:19:50 CET 2012


Revision: 17017
          http://gar.svn.sourceforge.net/gar/?rev=17017&view=rev
Author:   wahwah
Date:     2012-02-10 16:19:50 +0000 (Fri, 10 Feb 2012)
Log Message:
-----------
crosstools-ng/trunk: Initial commit.

Added Paths:
-----------
    csw/mgar/pkg/crosstools-ng/
    csw/mgar/pkg/crosstools-ng/Makefile
    csw/mgar/pkg/crosstools-ng/branches/
    csw/mgar/pkg/crosstools-ng/tags/
    csw/mgar/pkg/crosstools-ng/trunk/
    csw/mgar/pkg/crosstools-ng/trunk/Makefile
    csw/mgar/pkg/crosstools-ng/trunk/checksums
    csw/mgar/pkg/crosstools-ng/trunk/files/
    csw/mgar/pkg/crosstools-ng/trunk/files/0001-If-you-use-bash-declare-that.patch
    csw/mgar/pkg/crosstools-ng/trunk/files/sanitize_filenames.sh

Added: csw/mgar/pkg/crosstools-ng/Makefile
===================================================================
--- csw/mgar/pkg/crosstools-ng/Makefile	                        (rev 0)
+++ csw/mgar/pkg/crosstools-ng/Makefile	2012-02-10 16:19:50 UTC (rev 17017)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/crosstools-ng/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/crosstools-ng/trunk/Makefile
===================================================================
--- csw/mgar/pkg/crosstools-ng/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/crosstools-ng/trunk/Makefile	2012-02-10 16:19:50 UTC (rev 17017)
@@ -0,0 +1,32 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = crosstool-ng
+VERSION = 1.13.2
+GARTYPE = v2
+CATEGORIES = utils
+
+DESCRIPTION = Toolchain generator
+define BLURB
+endef
+
+MASTER_SITES = http://crosstool-ng.org/download/crosstool-ng/
+# http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.13.2.tar.bz2	
+DISTFILES  = $(DISTNAME).tar.bz2
+
+CONFIGURE_ARGS = --prefix=$(prefix)
+TEST_SCRIPTS =
+
+PATCHFILES += 0001-If-you-use-bash-declare-that.patch
+
+CHECKPKG_OVERRIDES_CSWcrosstool-ng += file-with-bad-content
+
+include gar/category.mk
+
+post-merge:
+	$(FILEDIR)/sanitize_filenames.sh $(PKGROOT)
+	if [ -f $(PKGROOT)/opt/csw/share/man/man1/ct-ng.1.gz ]; then \
+		gunzip $(PKGROOT)/opt/csw/share/man/man1/ct-ng.1.gz; \
+	fi
+
+PATH := /opt/csw/gnu:$(PATH)


Property changes on: csw/mgar/pkg/crosstools-ng/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/crosstools-ng/trunk/checksums
===================================================================
--- csw/mgar/pkg/crosstools-ng/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/crosstools-ng/trunk/checksums	2012-02-10 16:19:50 UTC (rev 17017)
@@ -0,0 +1 @@
+749cf70568ad07d1b13fdcd25b163553  crosstool-ng-1.13.2.tar.bz2

Added: csw/mgar/pkg/crosstools-ng/trunk/files/0001-If-you-use-bash-declare-that.patch
===================================================================
--- csw/mgar/pkg/crosstools-ng/trunk/files/0001-If-you-use-bash-declare-that.patch	                        (rev 0)
+++ csw/mgar/pkg/crosstools-ng/trunk/files/0001-If-you-use-bash-declare-that.patch	2012-02-10 16:19:50 UTC (rev 17017)
@@ -0,0 +1,22 @@
+From 53ffecb08029331678e8f54d4e33cad8d7e9c6be Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Fri, 10 Feb 2012 16:51:57 +0100
+Subject: [PATCH] If you use bash, declare that.
+
+---
+ configure |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure b/configure
+index 6a68b38..ecd4dc0 100755
+--- a/configure
++++ b/configure
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ 
+ myname="${0##*/}"
+ 
+-- 
+1.7.8.3
+

Added: csw/mgar/pkg/crosstools-ng/trunk/files/sanitize_filenames.sh
===================================================================
--- csw/mgar/pkg/crosstools-ng/trunk/files/sanitize_filenames.sh	                        (rev 0)
+++ csw/mgar/pkg/crosstools-ng/trunk/files/sanitize_filenames.sh	2012-02-10 16:19:50 UTC (rev 17017)
@@ -0,0 +1,11 @@
+#!/opt/csw/bin/bash
+
+set -x
+set -u
+set -e
+
+for f in $1/opt/csw/share/doc/ct-ng-1.13.2/*; do
+  no_spaces=$(basename $(echo "$f" | gtr ' ' '_'))
+  d=$1/opt/csw/share/doc/ct-ng-1.13.2
+  gmv "${f}" "${d}/${no_spaces}"
+done

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