From f82287cf5c1b2acd46feb52fb9b3cb3697e7086b Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Tue, 7 Mar 2017 13:41:01 +0100 Subject: treewide: use name in define and eval lines For consistency, use full name instead of $(PKG_NAME) in define and eval lines for all packages. I've seen reviews that asked to do this before, and I am asking the same during reviews now. To avoid this in the future, fix this treewide so when people use existing packages as example, we will not have to request this change anymore. This makes all packages consistent with both LEDE and OpenWrt base repositories. Signed-off-by: Stijn Tintel --- lang/lua-penlight/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lang/lua-penlight') diff --git a/lang/lua-penlight/Makefile b/lang/lua-penlight/Makefile index 5c1b72a2a..de594ec12 100644 --- a/lang/lua-penlight/Makefile +++ b/lang/lua-penlight/Makefile @@ -19,7 +19,7 @@ PKG_LICENSE_FILES:=LICENSE.md include $(INCLUDE_DIR)/package.mk -define Package/$(PKG_NAME) +define Package/lua-penlight SUBMENU:=Lua SECTION:=lang CATEGORY:=Languages @@ -29,7 +29,7 @@ define Package/$(PKG_NAME) MAINTAINER:= Karl Palsson endef -define Package/$(PKG_NAME)/description +define Package/lua-penlight/description It is often said of Lua that it does not include batteries. Penlight is the batteries. endef @@ -38,9 +38,9 @@ define Build/Compile echo "Nothing to compile, pure lua package" endef -define Package/$(PKG_NAME)/install +define Package/lua-penlight/install $(INSTALL_DIR) $(1)/usr/lib/lua $(CP) $(PKG_BUILD_DIR)/lua/pl $(1)/usr/lib/lua endef -$(eval $(call BuildPackage,$(PKG_NAME))) +$(eval $(call BuildPackage,lua-penlight)) -- cgit v1.2.3