[csw-devel] SF.net SVN: gar:[15546] csw/mgar/pkg/pkg-get/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Wed Sep 7 03:52:03 CEST 2011


Revision: 15546
          http://gar.svn.sourceforge.net/gar/?rev=15546&view=rev
Author:   bdwalton
Date:     2011-09-07 01:52:02 +0000 (Wed, 07 Sep 2011)
Log Message:
-----------
pkg-get/trunk: commit a working stub recipe for pkg-get

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

Added Paths:
-----------
    csw/mgar/pkg/pkg-get/trunk/files/license
    csw/mgar/pkg/pkg-get/trunk/files/pkg-get

Modified: csw/mgar/pkg/pkg-get/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pkg-get/trunk/Makefile	2011-09-07 01:27:53 UTC (rev 15545)
+++ csw/mgar/pkg/pkg-get/trunk/Makefile	2011-09-07 01:52:02 UTC (rev 15546)
@@ -2,28 +2,36 @@
 # TODO (release-critical prefixed with !, non release-critical with *)
 #
 NAME = pkg-get
-VERSION = x.y
+VERSION = 4.5.1
 GARTYPE = v2
-CATEGORIES = category
+CATEGORIES = utils
 
-DESCRIPTION = Brief description
+DESCRIPTION = Deprecated CSW version of automated package download tool
 define BLURB
-  Long description
+A deprecated tool for automated package download and installation.
 endef
 
-MASTER_SITES = 
-DISTFILES  = $(DISTNAME).tar.gz
+MASTER_SITES = http://opencsw.org
+DISTFILES = pkg-get license
 
-# File name regex to get notifications about upstream software releases
-# NOTE: Use this only if the automatic regex creation
-#       does not work for your package
-# UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS = 
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
 
-# If the url used to check for software update is different of MASTER_SITES, then 
-# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
-# UPSTREAM_MASTER_SITES = 
+PACKAGES = CSWpkgget
+CATALOGNAME_CSWpkgget = pkg_get_stub
+RUNTIME_DEP_PKGS_CSWpkgget = CSWpkgutil
+ARCHALL_CSWpkgget = 1
+CHECKPKG_OVERRIDES_CSWpkgget += surplus-dependency|CSWpkgutil
+CHECKPKG_OVERRIDES_CSWpkgget += catalogname-does-not-match-pkgname|pkgname=CSWpkgget|catalogname=pkg_get_stub|expected-catalogname=pkgget
 
-CONFIGURE_ARGS = $(DIRPATHS)
-
 include gar/category.mk
 
+install-custom:
+	@(mkdir -p $(DESTDIR)$(bindir); \
+	  mkdir -p $(DESTDIR)$(docdir)/pkg_get_stub; \
+		ginstall -m 0755 $(FILEDIR)/pkg-get $(DESTDIR)$(bindir); \
+		ginstall -m 0644 $(FILEDIR)/license $(DESTDIR)$(docdir)/pkg_get_stub; \
+		ln -s $(docdir)/pkg_get_stub $(DESTDIR)$(docdir)/pkg_get)
+	@$(MAKECOOKIE)

Added: csw/mgar/pkg/pkg-get/trunk/files/license
===================================================================
--- csw/mgar/pkg/pkg-get/trunk/files/license	                        (rev 0)
+++ csw/mgar/pkg/pkg-get/trunk/files/license	2011-09-07 01:52:02 UTC (rev 15546)
@@ -0,0 +1 @@
+This is not a real package so it doesn't need a real license.

Added: csw/mgar/pkg/pkg-get/trunk/files/pkg-get
===================================================================
--- csw/mgar/pkg/pkg-get/trunk/files/pkg-get	                        (rev 0)
+++ csw/mgar/pkg/pkg-get/trunk/files/pkg-get	2011-09-07 01:52:02 UTC (rev 15546)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+echo "The pkg-get is deprecated for use with OpenCSW.  Please use pkgutil"
+echo "instead.  It was installed at the same time this package was updated."
+echo
+echo "We apologize for any inconveniences this causes you."
+echo
+echo
+exit 1


Property changes on: csw/mgar/pkg/pkg-get/trunk/files/pkg-get
___________________________________________________________________
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