@ -9,27 +9,25 @@ include $(TOPDIR)/rules.mk
PKG_NAME := libplist
PKG_NAME := libplist
PKG_VERSION := 2.0.0
PKG_VERSION := 2.0.0
PKG_RELEASE := 4
PKG_RELEASE := 5
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := https://www.libimobiledevice.org/downloads
PKG_HASH := 3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602
PKG_MAINTAINER := Lukasz Baj <l.baj@radytek.com>
PKG_MAINTAINER := Lukasz Baj <l.baj@radytek.com>
PKG_LICENSE := LGPL-2.1-or-later
PKG_LICENSE := LGPL-2.1-or-later
PKG_LICENSE_FILES := COPYING.LESSER
PKG_LICENSE_FILES := COPYING.LESSER
PKG_SOURCE_PROTO := git
PKG_SOURCE_URL := https://github.com/libimobiledevice/libplist.git
PKG_SOURCE_SUBDIR := $( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE_VERSION := 62ec804736435fa34e37e66e228e17e2aacee1d7
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) -$( PKG_SOURCE_VERSION) .tar.gz
PKG_MIRROR_HASH := 0b6a7656b431f78b0f11370938e577bc16f30d2255ad675bf4b63a96876fb290
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
i n c l u d e $( INCLUDE_DIR ) / u c l i b c + + . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / l i b p l i s t / D e f a u l t
d e f i n e P a c k a g e / l i b p l i s t / D e f a u l t
TITLE:= Apple property list
TITLE:= Apple property list
URL:= http://www.libimobiledevice.org/
URL:= https ://www.libimobiledevice.org/
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b p l i s t / D e f a u l t / d e s c r i p t i o n
d e f i n e P a c k a g e / l i b p l i s t / D e f a u l t / d e s c r i p t i o n
@ -52,7 +50,7 @@ define Package/libplistcxx
$( call Package/libplist/Default)
$( call Package/libplist/Default)
SECTION:= libs
SECTION:= libs
CATEGORY:= Libraries
CATEGORY:= Libraries
DEPENDS:= +libplist +libstdcpp
DEPENDS:= +libplist $( CXX_DEPENDS)
TITLE += C++ library
TITLE += C++ library
e n d e f
e n d e f
@ -77,7 +75,9 @@ endef
CONFIGURE_ARGS += \
CONFIGURE_ARGS += \
--without-cython
--without-cython
TARGET_LDFLAGS += -lz
TARGET_CFLAGS += -flto
TARGET_CXXFLAGS += -std= c++11 -fno-rtti
TARGET_LDFLAGS += -Wl,--gc-sections
d e f i n e B u i l d / I n s t a l l D e v
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include
$( INSTALL_DIR) $( 1) /usr/include