Browse Source

libplist: Several fixes

Add myself as maintainer.

Add PKG_CPE_ID.

Switch to submenu for easier readability.

Change libplist-utils name to the utility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
130b770a8b
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      libs/libplist/Makefile

+ 8
- 6
libs/libplist/Makefile View File

@ -9,13 +9,14 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libplist PKG_NAME:=libplist
PKG_SOURCE_VERSION:=2.1.0 PKG_SOURCE_VERSION:=2.1.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/libimobiledevice/libplist PKG_SOURCE_URL:=https://github.com/libimobiledevice/libplist
PKG_MIRROR_HASH:=452ef5d6e87461a8b7a47a2274878cf200ccf480b4e81924f22ec1c445e353d0 PKG_MIRROR_HASH:=452ef5d6e87461a8b7a47a2274878cf200ccf480b4e81924f22ec1c445e353d0
PKG_MAINTAINER:=
PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
PKG_CPE_ID:=cpe:/a:libimobiledevice:libplist
PKG_FIXUP:=autoreconf PKG_FIXUP:=autoreconf
PKG_INSTALL:=1 PKG_INSTALL:=1
@ -27,6 +28,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/libplist/Default define Package/libplist/Default
TITLE:=Apple property list TITLE:=Apple property list
URL:=https://www.libimobiledevice.org/ URL:=https://www.libimobiledevice.org/
SUBMENU:=libimobiledevice
endef endef
define Package/libplist/Default/description define Package/libplist/Default/description
@ -62,7 +64,7 @@ define Package/libplistcxx/description
This package contains the libplist C++ shared library. This package contains the libplist C++ shared library.
endef endef
define Package/libplist-utils
define Package/plistutil
$(call Package/libplist/Default) $(call Package/libplist/Default)
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
@ -72,7 +74,7 @@ define Package/libplist-utils
LICENSE_FILES:=COPYING LICENSE_FILES:=COPYING
endef endef
define Package/libplist-utils/description
define Package/plistutil/description
$(call Package/libplist/Default/description) $(call Package/libplist/Default/description)
This package contains the libplist utilities. This package contains the libplist utilities.
endef endef
@ -103,11 +105,11 @@ define Package/libplistcxx/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist++.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist++.so.* $(1)/usr/lib/
endef endef
define Package/libplist-utils/install
define Package/plistutil/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/plistutil $(1)/usr/bin/ $(CP) $(PKG_INSTALL_DIR)/usr/bin/plistutil $(1)/usr/bin/
endef endef
$(eval $(call BuildPackage,libplist)) $(eval $(call BuildPackage,libplist))
$(eval $(call BuildPackage,libplistcxx)) $(eval $(call BuildPackage,libplistcxx))
$(eval $(call BuildPackage,libplist-utils))
$(eval $(call BuildPackage,plistutil))

Loading…
Cancel
Save