view src/uuid.mk @ 2993:1f944d8d6fe5

Modfications for libuuid dependancies * index.html: Added uuid package entry. * src/fltk-2-uuid-mod.patch: New patch file * src/fltk.m: Added uuid to fltk dependancies. * src/octave.mk (PKG_BUILD): Removed build of uuid.dll. * src/uuid.mk: New file.
author John Donoghue <john.donoghue@ieee.org>
date Sat, 25 May 2013 12:37:14 -0400
parents
children 4f9b72cf7ee7
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := uuid
$(PKG)_IGNORE   = $(w32api_IGNORE)
$(PKG)_CHECKSUM = $(w32api_CHECKSUM)
$(PKG)_SUBDIR   = $(w32api_SUBDIR)
$(PKG)_FILE     = $(w32api_FILE)
$(PKG)_URL      = $(w32api_URL)
$(PKG)_DEPS     = gcc

define $(PKG)_UPDATE
    echo "$(w32api_VERSION)"
endef

define $(PKG)_BUILD
    if [ $(BUILD_SHARED) = yes ]; then \
      $(INSTALL) -d '$(PREFIX)/$(TARGET)/bin'; \
      $(MAKE_SHARED_FROM_STATIC) --ar '$(TARGET)-ar' --ld '$(TARGET)-gcc' '$(1)/lib/libuuid.a'; \
      $(INSTALL) -m755 '$(1)/lib/libuuid.dll' '$(PREFIX)/$(TARGET)/bin/libuuid.dll'; \
    fi
endef