mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-01 19:57:28 +03:00
fix version info for packages that either lack PKG_VERSION or PKG_RELEASE
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3890 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
50a26cd5e2
commit
7741a5ad37
@ -55,7 +55,15 @@ define Package/Default
|
|||||||
DEPENDS:=
|
DEPENDS:=
|
||||||
MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
|
MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
|
||||||
SOURCE:=$(patsubst $(TOPDIR)/%,%,${shell pwd})
|
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)
|
PKGARCH:=$(ARCH)
|
||||||
PRIORITY:=optional
|
PRIORITY:=optional
|
||||||
DEFAULT:=
|
DEFAULT:=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user