From 5a671b04f874ac483a31c6e1985446bb324e8772 Mon Sep 17 00:00:00 2001 From: Martin Gerhardy Date: Thu, 20 Dec 2012 13:14:07 +0100 Subject: [PATCH] * added new package picomodel --- index.html | 5 +++++ src/picomodel.mk | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/picomodel.mk diff --git a/index.html b/index.html index 0770b6e8..a3ed7f89 100644 --- a/index.html +++ b/index.html @@ -1806,6 +1806,11 @@ USE_OSGPLUGIN(<plugin2>) 2.0.3 physfs + + picomodel + 0.8.20 + picomodel + pixman 0.27.4 diff --git a/src/picomodel.mk b/src/picomodel.mk new file mode 100644 index 00000000..53fd6da6 --- /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#.*\([^<]\{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 +