[csw-devel] SF.net SVN: gar:[6893] csw/mgar/pkg
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Oct 18 19:00:20 CEST 2009
Revision: 6893
http://gar.svn.sourceforge.net/gar/?rev=6893&view=rev
Author: wahwah
Date: 2009-10-18 17:00:20 +0000 (Sun, 18 Oct 2009)
Log Message:
-----------
log4sh: Initial commit
Modified Paths:
--------------
csw/mgar/pkg/log4sh/trunk/Makefile
csw/mgar/pkg/log4sh/trunk/checksums
Added Paths:
-----------
csw/mgar/pkg/log4sh/
Modified: csw/mgar/pkg/log4sh/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile 2009-09-24 17:03:41 UTC (rev 6443)
+++ csw/mgar/pkg/log4sh/trunk/Makefile 2009-10-18 17:00:20 UTC (rev 6893)
@@ -11,8 +11,8 @@
## For more information about GAR variables, please see:
## https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference
##
-GARNAME = mypkg
-GARVERSION = 1.0
+GARNAME = log4sh
+GARVERSION = 1.4.2
##
## The category that your software fits in. This is not a descriptive field, but
## influences the build process. Depending on the CATEGORIES setting, different
@@ -25,26 +25,30 @@
CATEGORIES = lib
##
## A one-line description of the package, which will appear in the pkginfo.
-DESCRIPTION = <please fill in>
+DESCRIPTION = A logging framework for shell scripts
##
## A longer description of the package. This is only for descriptive purposes
## inside the Makefile and is not used elsewhere.
define BLURB
- <please fill in>
+ http://log4sh.sourceforge.net/
+
+ log4sh is an advanced logging framework for shell scripts (eg. sh, bash) that
+ works similar to the logging products available from the Apache Software
+ Foundataion (eg. log4j, log4perl).
endef
##
## Upstream URL that should show up in the VENDOR field as well as on
## http://opencsw.org/packages/<packagename>.
-SPKG_SOURCEURL =
+SPKG_SOURCEURL = http://sites.google.com/a/forestent.com/projects/log4sh
##
## Whitespace-separated list of URLs to download the source package from.
## There are presets: $(SF_MIRRORS), $(GNU_MIRRORS) and $(GOOGLE_MIRROR).
-MASTER_SITES =
+MASTER_SITES = $(SF_MIRRORS)
##
## SF_PROJ is required if you set $(MASTER_SITES) to $(SF_MIRRORS) and the
## Sourceforge project name differs from $(GARNAME). Specifies the Sourceforge
## project name of the software you wish to download.
-## SF_PROJ =
+SF_PROJ = log4sh
##
## A list of space separated patch filenames from files/ that are to be applied
## to the extracted software before the ./configure stage. Patches need to be
@@ -54,10 +58,9 @@
## Whitespace-separated list of files which comprise this build. mGAR will look
## for the files in the $(FILEDIR) (trunk/files) directory and on the
## $(MASTER_SITES).
-DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES = $(GARNAME)-$(GARVERSION).tgz
##
-## We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tgz
##
## Catalog name is the name to be used with pkg{-get,util} -i <pkgname>.
## It is different from the system package name, which by convention is CSWpkgname.
@@ -173,10 +176,21 @@
## The compiler to use. Defaults to SOS11, can be also: SOS12, GCC3, GCC4.
## GARCOMPILER = SOS11
##
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
- @true
-#include gar/category.mk
+ARCHALL = 1
+CONFIGURE_SCRIPTS =
+TEST_SCRIPTS =
+BUILD_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+install-custom:
+ ginstall -d $(DESTDIR)$(libdir)/log4sh
+ ginstall $(WORKSRC)/src/shell/log4sh $(DESTDIR)$(libdir)/log4sh/log4sh
+ ginstall -d $(DESTDIR)$(datadir)/doc
+ ginstall -d $(DESTDIR)$(datadir)/doc/log4sh
+ ginstall $(WORKSRC)/doc/FAQ.txt $(DESTDIR)$(datadir)/doc/log4sh
+ ginstall $(WORKSRC)/doc/log4sh.html $(DESTDIR)$(datadir)/doc/log4sh
+ ginstall $(WORKSRC)/doc/README.txt $(DESTDIR)$(datadir)/doc/log4sh
+ ginstall $(WORKSRC)/doc/contributors.txt $(DESTDIR)$(datadir)/doc/log4sh
+
+include gar/category.mk
Modified: csw/mgar/pkg/log4sh/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums 2009-09-24 17:03:41 UTC (rev 6443)
+++ csw/mgar/pkg/log4sh/trunk/checksums 2009-10-18 17:00:20 UTC (rev 6893)
@@ -0,0 +1 @@
+b2177ab1f84a6cd91faf123bce74c899 download/log4sh-1.4.2.tgz
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