bzip2: move packages in a "Compression" submenu
authorNicolas Thill <nico@openwrt.org>
Mon, 20 Apr 2015 20:45:40 +0000 (22:45 +0200)
committerNicolas Thill <nico@openwrt.org>
Mon, 20 Apr 2015 20:45:40 +0000 (22:45 +0200)
Signed-off-by: Nicolas Thill <nico@openwrt.org>
utils/bzip2/Makefile

index c633344cfc963a1111ef8e86c710d399a4f8b5d7..bf5bcf82275c31cd5ec39a8706b82fa36c921fd9 100644 (file)
@@ -21,12 +21,17 @@ PKG_LICENSE_FILES:=LICENSE
 
 include $(INCLUDE_DIR)/package.mk
 
+define Package/bzip2/Default
+  SUBMENU:=Compression
+  URL:=http://www.bzip.org/
+endef
+
 define Package/libbz2
+$(call Package/bzip2/Default)
   SECTION:=libs
   CATEGORY:=Libraries
   DEPENDS:=
   TITLE:=bzip2 library.
-  URL:=http://www.bzip.org/
 endef
 
 define Package/libbz2/description
@@ -35,11 +40,11 @@ define Package/libbz2/description
 endef
 
 define Package/bzip2
+$(call Package/bzip2/Default)
   SECTION:=utils
   CATEGORY:=Utilities
   DEPENDS:=+libbz2
   TITLE:=bzip2 is a compression utility.
-  URL:=http://www.bzip.org/
 endef
 
 define Package/bzip2/description