[csw-devel] SF.net SVN: gar:[21828] csw/mgar/pkg
lblume at users.sourceforge.net
lblume at users.sourceforge.net
Fri Aug 23 12:23:25 CEST 2013
Revision: 21828
http://gar.svn.sourceforge.net/gar/?rev=21828&view=rev
Author: lblume
Date: 2013-08-23 10:23:16 +0000 (Fri, 23 Aug 2013)
Log Message:
-----------
gwhich/trunk: Clean up the recipe; add opt/gnu
Modified Paths:
--------------
csw/mgar/pkg/gwhich/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/gwhich/
Modified: csw/mgar/pkg/gwhich/trunk/Makefile
===================================================================
--- csw/mgar/pkg/which/trunk/Makefile 2013-08-22 14:24:44 UTC (rev 21827)
+++ csw/mgar/pkg/gwhich/trunk/Makefile 2013-08-23 10:23:16 UTC (rev 21828)
@@ -1,3 +1,6 @@
+# $Id: Makefile 13420 2011-02-20 21:04:03Z bdwalton $
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
NAME = which
VERSION = 2.20
GARTYPE = v2
@@ -2,20 +5,23 @@
-DESCRIPTION = locate a command and display its pathname or alias
+DESCRIPTION = Utility used to find which executable is executed when entered on the shell prompt.
define BLURB
- GNU which - is a utility that is used to find which executable (or alias or shell function) is executed when entered on the shell prompt
+ GNU which - is a utility that is used to find which executable (or alias or shell function) is executed when entered on the shell prompt.
endef
-MASTER_SITES = $(GNU_MIRROR)
-DISTFILES = $(NAME)-$(VERSION).tar.gz
-DISTFILES += $(call admfiles,CSWwhich,)
+MASTER_SITES = http://ftp.gnu.org/gnu/which/
+DISTFILES = $(DISTNAME).tar.gz
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
+VENDOR_URL = http://savannah.gnu.org/projects/which/
-CONFIGURE_ARGS = $(DIRPATHS)
+GARCOMPILER = GCC4
+
+CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --program-prefix=g
-CONFIGURE_ARGS += --disable-dependency-tracking
-BUILD64_LIBS_ONLY = 1
+include gar/category.mk
-include gar/category.mk
+post-install-modulated:
+ ginstall -d $(DESTDIR)$(prefix)/gnu
+ $(foreach G,$(notdir $(wildcard $(DESTDIR)$(bindir)/*)),ln -s ../bin/$G $(DESTDIR)$(prefix)/gnu/$(patsubst g%,%,$G);)
+ @$(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