diff options
-rw-r--r-- | rules/templates/template-src-autoconf-make | 4 | ||||
-rw-r--r-- | rules/templates/template-src-cmake-prog-make | 4 | ||||
-rw-r--r-- | rules/templates/template-src-stellaris-make | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/rules/templates/template-src-autoconf-make b/rules/templates/template-src-autoconf-make index c8081fd34..42f055ef9 100644 --- a/rules/templates/template-src-autoconf-make +++ b/rules/templates/template-src-autoconf-make @@ -16,7 +16,11 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@ # # Paths and names # +ifdef PTXCONF_@PACKAGE@_TRUNK +@PACKAGE@_VERSION := trunk +else @PACKAGE@_VERSION := @VERSION@ +endif @PACKAGE@ := @package@-$(@PACKAGE@_VERSION) @PACKAGE@_URL := file://$(PTXDIST_WORKSPACE)/local_src/$(@PACKAGE@) @PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@) diff --git a/rules/templates/template-src-cmake-prog-make b/rules/templates/template-src-cmake-prog-make index 18c40a22f..c381fa1e2 100644 --- a/rules/templates/template-src-cmake-prog-make +++ b/rules/templates/template-src-cmake-prog-make @@ -16,7 +16,11 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@ # # Paths and names # +ifdef PTXCONF_@PACKAGE@_TRUNK +@PACKAGE@_VERSION := trunk +else @PACKAGE@_VERSION := @VERSION@ +endif @PACKAGE@ := @package@-$(@PACKAGE@_VERSION) @PACKAGE@_URL := file://$(PTXDIST_WORKSPACE)/local_src/$(@PACKAGE@) @PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@) diff --git a/rules/templates/template-src-stellaris-make b/rules/templates/template-src-stellaris-make index 7ea8ada86..7c5628e8d 100644 --- a/rules/templates/template-src-stellaris-make +++ b/rules/templates/template-src-stellaris-make @@ -27,7 +27,11 @@ endif # # Paths and names # +ifdef PTXCONF_@PACKAGE@_TRUNK +@PACKAGE@_VERSION := trunk +else @PACKAGE@_VERSION := @VERSION@ +endif @PACKAGE@ := @package@-$(@PACKAGE@_VERSION) @PACKAGE@_URL := file://$(PTXDIST_WORKSPACE)/local_src/$(@PACKAGE@) @PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@) |