mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 06:58:39 +01:00
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 <stijn@linux-ipv6.be>
This commit is contained in:
+6
-6
@@ -32,7 +32,7 @@ PKG_CONFIG_DEPENDS := \
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
define Package/mc
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+glib2 +libncurses +libmount +MC_VFS:libssh2 $(LIBRPC_DEPENDS) $(ICONV_DEPENDS)
|
||||
@@ -41,11 +41,11 @@ define Package/$(PKG_NAME)
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/config
|
||||
define Package/mc/config
|
||||
source "$(SOURCE)/Config.in"
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
define Package/mc/description
|
||||
GNU Midnight Commander is a visual file manager.
|
||||
It's a feature rich full-screen text mode application that allows you to copy,
|
||||
move and delete files and whole directory trees, search for files and run commands in the subshell.
|
||||
@@ -98,7 +98,7 @@ CONFIGURE_ARGS += \
|
||||
--disable-vfs
|
||||
endif
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
define Package/mc/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mc $(1)/usr/bin
|
||||
$(INSTALL_DIR) $(1)/etc/mc
|
||||
@@ -119,9 +119,9 @@ endif
|
||||
$(INSTALL_DIR) $(1)/etc/mc/mcedit/Syntax
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
define Package/mc/conffiles
|
||||
/etc/mc/mc.menu
|
||||
/etc/mc/skins/default.ini
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
$(eval $(call BuildPackage,mc))
|
||||
|
||||
+9
-9
@@ -34,7 +34,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
# templates
|
||||
#
|
||||
|
||||
define Package/$(PKG_NAME)/Default
|
||||
define Package/owfs/Default
|
||||
TITLE:=OWFS (1-Wire File System)
|
||||
URL:=http://owfs.sourceforge.net/
|
||||
SECTION:=net
|
||||
@@ -42,7 +42,7 @@ define Package/$(PKG_NAME)/Default
|
||||
SUBMENU:=Filesystem
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/Default/description
|
||||
define Package/owfs/Default/description
|
||||
OWFS is a suite of programs that designed to make the 1-wire bus and its
|
||||
devices easily accessible. The underlying principle is to create a virtual
|
||||
filesystem, with the unique ID being the directory, and the individual
|
||||
@@ -94,7 +94,7 @@ define Package/libow/config
|
||||
endef
|
||||
|
||||
define Package/libow/description
|
||||
$(call Package/$(PKG_NAME)/Default/description)
|
||||
$(call Package/owfs/Default/description)
|
||||
|
||||
This package contains the OWFS library.
|
||||
endef
|
||||
@@ -106,7 +106,7 @@ define Package/libow-capi
|
||||
endef
|
||||
|
||||
define Package/libow-capi/description
|
||||
$(call Package/$(PKG_NAME)/Default/description)
|
||||
$(call Package/owfs/Default/description)
|
||||
|
||||
This package contains the OWFS C-API library.
|
||||
endef
|
||||
@@ -122,7 +122,7 @@ define Package/owshell
|
||||
endef
|
||||
|
||||
define Package/owshell/description
|
||||
$(call Package/$(PKG_NAME)/Default/description)
|
||||
$(call Package/owfs/Default/description)
|
||||
|
||||
This package contains the OWFS shell utilities.
|
||||
endef
|
||||
@@ -135,7 +135,7 @@ define Package/owfs
|
||||
endef
|
||||
|
||||
define Package/owfs/description
|
||||
$(call Package/$(PKG_NAME)/Default/description)
|
||||
$(call Package/owfs/Default/description)
|
||||
|
||||
This package contains the OWFS fuse filesystem.
|
||||
endef
|
||||
@@ -150,7 +150,7 @@ define Package/owhttpd
|
||||
endef
|
||||
|
||||
define Package/owhttpd/description
|
||||
$(call Package/$(PKG_NAME)/Default/description)
|
||||
$(call Package/owfs/Default/description)
|
||||
|
||||
This package contains the OWFS http server.
|
||||
endef
|
||||
@@ -161,7 +161,7 @@ define Package/owftpd
|
||||
endef
|
||||
|
||||
define Package/owftpd/description
|
||||
$(call Package/$(PKG_NAME)/Default/description)
|
||||
$(call Package/owfs/Default/description)
|
||||
|
||||
This package contains the OWFS ftp server.
|
||||
endef
|
||||
@@ -172,7 +172,7 @@ define Package/owserver
|
||||
endef
|
||||
|
||||
define Package/owserver/description
|
||||
$(call Package/$(PKG_NAME)/Default/description)
|
||||
$(call Package/owfs/Default/description)
|
||||
|
||||
This package contains the OWFS network server.
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user