view src/uuid.mk @ 4015:f3d167e40f01

of-tisean: add new package * Makefile.in: add tisean package * build_packages.m: add tisean package to installer * dist-files.mk: update for of-tisean-1-fortran.patch, of-tisean.mk * src/of-tisean-1-fortran.patch: new file * src/of-tisean.mk: new file
author John Donoghue
date Tue, 25 Aug 2015 08:40:44 -0400
parents f981744a8f4a
children 79c7aec27739
line wrap: on
line source

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

PKG             := uuid
$(PKG)_IGNORE   = $(mingw-w64_IGNORE)
$(PKG)_VERSION  := 3.17
$(PKG)_CHECKSUM = $(mingw-w64_CHECKSUM)
$(PKG)_SUBDIR   = $(mingw-w64_SUBDIR)
$(PKG)_FILE     = $(mingw-w64_FILE)
$(PKG)_URL      = $(mingw-w64_URL)
$(PKG)_DEPS     =

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

define $(PKG)_BUILD
    if [ $(BUILD_SHARED) = yes ]; then \
      $(INSTALL) -d '$(HOST_BINDIR)'; \
      $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libuuid.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \
      rm -f $(HOST_LIBDIR)/libuuid.dll.a; \
    fi
endef