* added new package picomodel

This commit is contained in:
Martin Gerhardy 2012-12-20 13:14:07 +01:00
parent 36a946f527
commit 5a671b04f8
2 changed files with 30 additions and 0 deletions

View File

@ -1806,6 +1806,11 @@ USE_OSGPLUGIN(<plugin2>)
<td id="physfs-version">2.0.3</td>
<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>

25
src/picomodel.mk Normal file
View File

@ -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