summaryrefslogtreecommitdiffstats
path: root/src/libplist.mk
diff options
context:
space:
mode:
authorPavel Vatagin <pavelvat@gmail.com>2015-08-22 17:29:31 (GMT)
committerPavel Vatagin <pavelvat@gmail.com>2015-08-22 17:29:31 (GMT)
commit875ca1f756de4eaf0ef9821cc8eb4205da1358d9 (patch)
tree7fa64685aab504da137cf02c7437e135d3041743 /src/libplist.mk
parent0a78af197aefa307909cd555c3a700090eefe808 (diff)
downloadmxe-875ca1f756de4eaf0ef9821cc8eb4205da1358d9.zip
mxe-875ca1f756de4eaf0ef9821cc8eb4205da1358d9.tar.gz
mxe-875ca1f756de4eaf0ef9821cc8eb4205da1358d9.tar.bz2
add package libplist
Diffstat (limited to 'src/libplist.mk')
-rw-r--r--src/libplist.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/libplist.mk b/src/libplist.mk
new file mode 100644
index 0000000..2591122
--- /dev/null
+++ b/src/libplist.mk
@@ -0,0 +1,24 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := libplist
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 1.12
+$(PKG)_CHECKSUM := 2d7bc731fd992a318a10195d43b11ff01b46bbb0
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_URL := https://github.com/libimobiledevice/libplist/archive/$($(PKG)_VERSION).tar.gz
+$(PKG)_DEPS := gcc libxml2
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'https://github.com/libimobiledevice/libplist/archive/' | \
+ $(SED) -n 's,.*/\([0-9][^"]*\)/"\.tar.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && $(SHELL) ./autogen.sh \
+ $(MXE_CONFIGURE_OPTS) \
+ --without-cython
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install
+endef