mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] Add mono package


From: Weber Li
Subject: [Mingw-cross-env-list] Add mono package
Date: Fri, 20 Mar 2015 17:46:48 +1300

Hi guys,

    I want to add mono package into mxe, but I failed. Please have a look at my make file and tell me where did I do wrong.

# This file is part of MXE.
# See index.html for further information. https://github.com/mono/gtk-sharp/archive/2.12.25.tar.gz

PKG             := mono
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 3.12.0
$(PKG)_CHECKSUM := cec83efd13ffc1e212c632395a5aac75772a09e7
$(PKG)_SUBDIR   := mono-$($(PKG)_VERSION)
$(PKG)_FILE     := mono-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL      := https://download.mono-project.com/sources/mono/$($(PKG)_FILE)
$(PKG)_DEPS     := gcc gettext sqlite lapack glib libiconv

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://git.gnome.org/browse/gtk+/refs/tags' | \
    grep '<a href="" | \
    $(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
    grep -v '^2\.9' | \
    grep '^2\.' | \
    head -1
endef

define $(PKG)_BUILD
    cd '$(1)' && ./configure \
        --host='$(TARGET)' \
        --build="`config.guess`" \
        --disable-shared \
        --prefix='$(PREFIX)/$(TARGET)' \
        --enable-explicit-deps \
        --disable-glibtest \
        --disable-modules \
        --disable-cups \
        --disable-test-print-backend \
        --disable-gtk-doc \
        --disable-man \
        --with-included-immodules \
        --without-x
    export PATH=$PATH:$(1)/bin
    make
    make install
endef


reply via email to

[Prev in Thread] Current Thread [Next in Thread]