diff src/liboil.mk @ 798:0292c7229519

new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
author Mark Brand <mabrand@mabrand.nl>
date Sun, 21 Feb 2010 21:52:21 +0100
parents
children 3eba8075e121
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/liboil.mk	Sun Feb 21 21:52:21 2010 +0100
@@ -0,0 +1,32 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# liboil
+PKG             := liboil
+$(PKG)_IGNORE   :=
+$(PKG)_VERSION  := 0.3.17
+$(PKG)_CHECKSUM := f9d7103a3a4a4089f56197f81871ae9129d229ed
+$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE  := http://$(PKG).freedesktop.org
+$(PKG)_URL      := http://$(PKG).freedesktop.org/download/$($(PKG)_FILE)
+$(PKG)_DEPS     := gcc 
+
+define $(PKG)_UPDATE
+    echo "Update not implemented"
+endef
+
+define $(PKG)_BUILD
+    cd '$(1)' && ./configure \
+        --host='$(TARGET)' \
+        --prefix='$(PREFIX)/$(TARGET)' \
+        --disable-shared \
+        --disable-debug \
+        --disable-check \
+        --disable-tests \
+        --disable-examples \
+        --mandir='$(1)/sink' \
+        --docdir='$(1)/sink' \
+        --with-html-dir='$(1)/sink'
+    $(MAKE) -C '$(1)' -j '$(JOBS)' install
+endef