The version number must be used in a consistent manner.
The version number is always required to create the ipkg
and currently it is used by the template generator when
creating the source directory in local_src/. This change
does it now use when building the template as well.
    
Signed-off-by: Juergen Beisert <[email protected]>

diff --git a/rules/templates/template-src-make-prog-make 
b/rules/templates/template-src-make-prog-make
index a3bad32..54c1bede 100644
--- a/rules/templates/template-src-make-prog-make
+++ b/rules/templates/template-src-make-prog-make
@@ -18,7 +18,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
 #
 @PACKAGE@_VERSION      := @VERSION@
 @PACKAGE@_MD5          :=
-@PACKAGE@              := @package@
+@PACKAGE@              := @package@-$(@PACKAGE@_VERSION)
 @PACKAGE@_URL          := file://local_src/$(@PACKAGE@)
 @PACKAGE@_DIR          := $(BUILDDIR)/$(@PACKAGE@)
 @PACKAGE@_LICENSE      := unknown

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
[email protected]

Reply via email to