diff options
| author | Stijn Tintel <stijn@linux-ipv6.be> | 2017-03-07 13:41:01 +0100 |
|---|---|---|
| committer | Stijn Tintel <stijn@linux-ipv6.be> | 2017-03-08 21:15:20 +0100 |
| commit | f82287cf5c1b2acd46feb52fb9b3cb3697e7086b (patch) | |
| tree | b51dc0c6f1eeb94b0cbd039b352d79c8a82d2736 /libs/libarchive | |
| parent | 694e5a677cdacf0966d759deb75f03c0c927bd2a (diff) | |
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>
Diffstat (limited to 'libs/libarchive')
| -rw-r--r-- | libs/libarchive/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/libarchive/Makefile b/libs/libarchive/Makefile index b1a69e206..5620391f9 100644 --- a/libs/libarchive/Makefile +++ b/libs/libarchive/Makefile @@ -22,7 +22,7 @@ PKG_FIXUP:=autoreconf include $(INCLUDE_DIR)/package.mk -define Package/$(PKG_NAME)/Default +define Package/libarchive/Default SECTION:=libs CATEGORY:=Libraries DEPENDS:=+zlib +liblzma +libbz2 +libexpat @@ -30,13 +30,13 @@ define Package/$(PKG_NAME)/Default URL:=http://www.libarchive.org/ endef -define Package/$(PKG_NAME) - $(call Package/$(PKG_NAME)/Default) +define Package/libarchive + $(call Package/libarchive/Default) DEPENDS += +libopenssl endef -define Package/$(PKG_NAME)-noopenssl - $(call Package/$(PKG_NAME)/Default) +define Package/libarchive-noopenssl + $(call Package/libarchive/Default) TITLE += (without OpenSSL dependency) VARIANT:=noopenssl endef @@ -90,7 +90,7 @@ define Package/bsdtar/install $(CP) $(PKG_INSTALL_DIR)/usr/bin/bsdtar $(1)/usr/bin endef -Package/$(PKG_NAME)-noopenssl/install = $(Package/$(PKG_NAME)/install) +Package/libarchive-noopenssl/install = $(Package/libarchive/install) $(eval $(call BuildPackage,libarchive)) $(eval $(call BuildPackage,libarchive-noopenssl)) |
