Browse Source

libplist: get rid of libplistxx

Nothing uses it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
26a9b47588
1 changed files with 1 additions and 26 deletions
  1. +1
    -26
      libs/libplist/Makefile

+ 1
- 26
libs/libplist/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libplist PKG_NAME:=libplist
PKG_VERSION:=2.2.0 PKG_VERSION:=2.2.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://www.libimobiledevice.org/downloads PKG_SOURCE_URL:=https://www.libimobiledevice.org/downloads
@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:libimobiledevice:libplist
PKG_INSTALL:=1 PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/libplist/Default define Package/libplist/Default
@ -48,21 +47,6 @@ define Package/libplist/description
$(call Package/libplist/Default/description) $(call Package/libplist/Default/description)
endef endef
define Package/libplistcxx
$(call Package/libplist/Default)
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libplist $(CXX_DEPENDS)
TITLE+= C++ library
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING.LESSER
endef
define Package/libplistcxx/description
$(call Package/libplist/Default/description)
This package contains the libplist C++ shared library.
endef
define Package/plistutil define Package/plistutil
$(call Package/libplist/Default) $(call Package/libplist/Default)
SECTION:=utils SECTION:=utils
@ -83,7 +67,6 @@ CONFIGURE_ARGS += \
--without-cython --without-cython
TARGET_CFLAGS += -flto TARGET_CFLAGS += -flto
TARGET_CXXFLAGS += -std=c++11 -fno-rtti
TARGET_LDFLAGS += -Wl,--gc-sections TARGET_LDFLAGS += -Wl,--gc-sections
define Build/InstallDev define Build/InstallDev
@ -92,9 +75,7 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist-2.0*.so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist-2.0*.so* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libplist++-2.0.pc $(1)/usr/lib/pkgconfig/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libplist-2.0.pc $(1)/usr/lib/pkgconfig/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libplist-2.0.pc $(1)/usr/lib/pkgconfig/
$(LN) libplist++-2.0.pc $(1)/usr/lib/pkgconfig/libplist++.pc
$(LN) libplist-2.0.pc $(1)/usr/lib/pkgconfig/libplist.pc $(LN) libplist-2.0.pc $(1)/usr/lib/pkgconfig/libplist.pc
endef endef
@ -103,16 +84,10 @@ define Package/libplist/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist-2.0.so.* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist-2.0.so.* $(1)/usr/lib/
endef endef
define Package/libplistcxx/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist++-2.0.so.* $(1)/usr/lib/
endef
define Package/plistutil/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,plistutil)) $(eval $(call BuildPackage,plistutil))

Loading…
Cancel
Save