All pastes #792943 Raw Edit

Unbenannt

public text v1 · immutable
·published 2007-11-21 20:47 UTC
rendered paste body
#
# $Id$

include $(TOPDIR)/rules.mk

PKG_NAME:=mono
PKG_VERSION:=1.2.5.2
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://go-mono.com/sources/mono/
PKG_MD5SUM:=50b379ce60c1550dcd7be50bae25fa30

include $(INCLUDE_DIR)/package.mk

define Package/mono
  SECTION:=lang
  CATEGORY:=Languages
  TITLE:=An Ecma standard compliant set of tools.
  URL:=http://www.mono-project.com/
  DEPENDS:=+glib2 +libpthread
endef

define Package/mono/description
 Mono is a project led by Novell (formerly by Ximian) to create an Ecma standard compliant .NET compatible set of tools, including among others a C# compiler and a Common Language Runtime. Mono can be run on Linux, BSD, UNIX, Mac OS X, Solaris and Windows operating systems.
endef

define Build/Configure
        (cd $(PKG_BUILD_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS) \
                PREFIX="/opt/mono/"
                ./configure \
                        --enable-minimal=aot,profiler,pinvoke,debug,reflection_emit,large_code,logging,com,ssa
        );
endef

define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                all
endef

define Package/mono/install
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(1)"
                install
endef

$(eval $(call BuildPackage,mono))