SF.net SVN: gar:[25016] csw/mgar/pkg/clojure/trunk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Fri May 22 16:00:58 CEST 2015
Revision: 25016
http://sourceforge.net/p/gar/code/25016
Author: dmichelsen
Date: 2015-05-22 14:00:57 +0000 (Fri, 22 May 2015)
Log Message:
-----------
clojure/trunk: Add exec wrapper
Modified Paths:
--------------
csw/mgar/pkg/clojure/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/clojure/trunk/files/clojure
Modified: csw/mgar/pkg/clojure/trunk/Makefile
===================================================================
--- csw/mgar/pkg/clojure/trunk/Makefile 2015-05-22 13:43:35 UTC (rev 25015)
+++ csw/mgar/pkg/clojure/trunk/Makefile 2015-05-22 14:00:57 UTC (rev 25016)
@@ -9,6 +9,8 @@
MASTER_SITES = http://repo1.maven.org/maven2/org/clojure/clojure/1.6.0/
DISTFILES += $(DISTNAME).zip
+DISTFILES += clojure
+EXPANDVARS += clojure
VENDOR_URL = http://clojure.org
LICENSE = readme.txt
@@ -17,6 +19,9 @@
SPKG_DESC_CSWclojure = A dynamic programming language that targets the Java Virtual Machine
# PKGFILES is catchall
ARCHALL_CSWclojure = 1
+RUNTIME_DEP_PKGS_CSWclojure += CSWjre8
+# checkpkg cannot trace this dependency
+CHECKPKG_OVERRIDES_CSWclojure += surplus-dependency|CSWjre8
CONFIGURE_SCRIPTS =
BUILD_SCRIPTS =
@@ -28,4 +33,5 @@
install-custom:
ginstall -D -m 0644 $(WORKSRC)/clojure-$(VERSION).jar $(DESTDIR)$(sharedstatedir)/java/clojure-$(VERSION).jar
ln -s clojure-$(VERSION).jar $(DESTDIR)$(sharedstatedir)/java/clojure.jar
+ ginstall -D -m 0755 $(WORKDIR)/clojure $(DESTDIR)$(bindir)/clojure
@$(MAKECOOKIE)
Added: csw/mgar/pkg/clojure/trunk/files/clojure
===================================================================
--- csw/mgar/pkg/clojure/trunk/files/clojure (rev 0)
+++ csw/mgar/pkg/clojure/trunk/files/clojure 2015-05-22 14:00:57 UTC (rev 25016)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /opt/csw/java/jre/jre8/bin/java -cp @sharedstatedir@/java/clojure- at VERSION@.jar clojure.main "$@"
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