mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
fix version info for packages that either lack PKG_VERSION or PKG_RELEASE
SVN-Revision: 3890
This commit is contained in:
parent
6860977c4c
commit
450d0b77e6
@ -55,7 +55,15 @@ define Package/Default
|
||||
DEPENDS:=
|
||||
MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
|
||||
SOURCE:=$(patsubst $(TOPDIR)/%,%,${shell pwd})
|
||||
VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
|
||||
ifneq ($(PKG_VERSION),)
|
||||
ifneq ($(PKG_RELEASE),)
|
||||
VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
|
||||
else
|
||||
VERSION:=$(PKG_VERSION)
|
||||
endif
|
||||
else
|
||||
VERSION:=$(PKG_RELEASE)
|
||||
endif
|
||||
PKGARCH:=$(ARCH)
|
||||
PRIORITY:=optional
|
||||
DEFAULT:=
|
||||
|
Loading…
Reference in New Issue
Block a user