summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-08-22 20:15:30 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-08-22 20:15:30 (GMT)
commitd37f8f3170bea77172c672fe478c76667bb87cb3 (patch)
tree8ccb81392408a5db01bc3accf549450ec0afc689
parent374a303dbf1585fa3841734cfbdd855b30ed580d (diff)
parent875ca1f756de4eaf0ef9821cc8eb4205da1358d9 (diff)
downloadmxe-d37f8f3170bea77172c672fe478c76667bb87cb3.zip
mxe-d37f8f3170bea77172c672fe478c76667bb87cb3.tar.gz
mxe-d37f8f3170bea77172c672fe478c76667bb87cb3.tar.bz2
Merge pull request #794 from pavelvat/libplist
add package libplist
-rw-r--r--index.html4
-rw-r--r--src/libplist.mk24
2 files changed, 28 insertions, 0 deletions
diff --git a/index.html b/index.html
index 1cfcc6d..ba61bc1 100644
--- a/index.html
+++ b/index.html
@@ -1741,6 +1741,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="website"><a href="http://packages.debian.org/unstable/libpaper1">libpaper</a></td>
</tr>
<tr>
+ <td class="package">libplist</td>
+ <td class="website"><a href="https://github.com/libimobiledevice/libplist">libplist</a></td>
+ </tr>
+ <tr>
<td class="package">libpng</td>
<td class="website"><a href="http://www.libpng.org/">libpng</a></td>
</tr>
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