build: allow the package maintainer info to be specified globally for a source package
authorFelix Fietkau <nbd@openwrt.org>
Mon, 8 Oct 2012 11:40:57 +0000 (11:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 8 Oct 2012 11:40:57 +0000 (11:40 +0000)
SVN-Revision: 33659

include/package-defaults.mk

index e2ce863..45a92cf 100644 (file)
@@ -13,6 +13,8 @@ else
   PKG_FIXUP_DEPENDS = $(2)
 endif
 
+PKG_MAINTAINER ?= OpenWrt Developers Team <openwrt-devel@openwrt.org>
+
 define Package/Default
   CONFIGFILE:=
   SECTION:=opt
@@ -21,7 +23,7 @@ define Package/Default
   MDEPENDS:=
   PROVIDES:=
   EXTRA_DEPENDS:=
-  MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
+  MAINTAINER:=$(PKG_MAINTAINER)
   SOURCE:=$(patsubst $(TOPDIR)/%,%,$(CURDIR))
   ifneq ($(PKG_VERSION),)
     ifneq ($(PKG_RELEASE),)