2 # Copyright (C) 2012-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://www.libimobiledevice.org
/downloads
16 PKG_MD5SUM
:=82de65f38cb2f0a9fd0839679b46072b
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/libplist
/Default
23 TITLE
:=Apple property list
24 URL
:=http
://www.libimobiledevice.org
/
27 define Package
/libplist
/Default
/description
28 A library to handle Apple Property List format whereas it
's binary or XML
31 define Package/libplist
32 $(call Package/libplist/Default)
39 define Package/libplist/description
40 $(call Package/libplist/Default/description)
43 define Package/libplistcxx
44 $(call Package/libplist/Default)
47 DEPENDS:=+libplist +libstdcpp
51 define Package/libplistcxx/description
52 $(call Package/libplist/Default/description)
53 This package contains the libplist C++ shared library.
56 define Package/libplist-utils
57 $(call Package/libplist/Default)
64 define Package/libplist-utils/description
65 $(call Package/libplist/Default/description)
66 This package contains the libplist utilities.
72 define Build/InstallDev
73 $(INSTALL_DIR) $(1)/usr/include
74 $(CP) $(PKG_INSTALL_DIR)/usr/include/plist $(1)/usr/include/
75 $(INSTALL_DIR) $(1)/usr/lib
76 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist*.so* $(1)/usr/lib/
77 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
78 $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libplist*.pc $(1)/usr/lib/pkgconfig/
81 define Package/libplist/install
82 $(INSTALL_DIR) $(1)/usr/lib
83 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist.so.* $(1)/usr/lib/
86 define Package/libplistcxx/install
87 $(INSTALL_DIR) $(1)/usr/lib
88 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libplist++.so.* $(1)/usr/lib/
91 define Package/libplist-utils/install
92 $(INSTALL_DIR) $(1)/usr/bin
93 $(CP) $(PKG_INSTALL_DIR)/usr/bin/plistutil $(1)/usr/bin/
96 $(eval $(call BuildPackage,libplist))
97 $(eval $(call BuildPackage,libplistcxx))
98 $(eval $(call BuildPackage,libplist-utils))