summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2012-12-21 07:32:08 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-12-21 07:32:08 (GMT)
commit4337cf92aa977e5efce1620ca349945291924211 (patch)
tree72bd2f3fed2882acb7c1d7170d979853d7464bf3
parent1f09bd4505830ce48cfdc5316110c0fe17de6128 (diff)
parent5a671b04f874ac483a31c6e1985446bb324e8772 (diff)
downloadmxe-4337cf92aa977e5efce1620ca349945291924211.zip
mxe-4337cf92aa977e5efce1620ca349945291924211.tar.gz
mxe-4337cf92aa977e5efce1620ca349945291924211.tar.bz2
Merge pull request #106 from ufoai/master
new package picomodel
-rw-r--r--index.html5
-rw-r--r--src/picomodel.mk25
2 files changed, 30 insertions, 0 deletions
diff --git a/index.html b/index.html
index b3a0bed..d772236 100644
--- a/index.html
+++ b/index.html
@@ -1812,6 +1812,11 @@ USE_OSGPLUGIN(&lt;plugin2&gt;)
<td id="physfs-website"><a href="http://icculus.org/physfs/">physfs</a></td>
</tr>
<tr>
+ <td id="picomodel-package">picomodel</td>
+ <td id="picomodel-version">0.8.20</td>
+ <td id="picomodel-website"><a href="http://code.google.com/p/picomodel/">picomodel</a></td>
+ </tr>
+ <tr>
<td id="pixman-package">pixman</td>
<td id="pixman-version">0.27.4</td>
<td id="pixman-website"><a href="http://cairographics.org/">pixman</a></td>
diff --git a/src/picomodel.mk b/src/picomodel.mk
new file mode 100644
index 0000000..53fd6da
--- /dev/null
+++ b/src/picomodel.mk
@@ -0,0 +1,25 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := picomodel
+$(PKG)_IGNORE :=
+$(PKG)_CHECKSUM := dda03a87ec16ce7fa08be8342490e26bd25c101b
+$(PKG)_SUBDIR := picomodel-$($(PKG)_VERSION)
+$(PKG)_FILE := picomodel-$($(PKG)_VERSION).tar.bz2
+$(PKG)_URL := http://picomodel.googlecode.com/files/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc
+
+define $(PKG)_UPDATE
+ $(WGET) -q -O- 'https://github.com/ufoai/picomodel/commits/master' | \
+ $(SED) -n 's#.*<span class="sha">\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --disable-shared \
+ --prefix='$(PREFIX)/$(TARGET)'
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+endef
+