wok-6.x annotate mono/receipt @ rev 18733

Up tazpkg(896)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 21 01:46:18 2015 +0200 (2015-12-21)
parents c34af2cd7b0c
children a78610b2eb47
rev   line source
rcx@3231 1 # SliTaz package receipt.
rcx@3231 2
rcx@3231 3 PACKAGE="mono"
slaxemulator@12320 4 VERSION="2.10.8"
rcx@3231 5 CATEGORY="development"
rcx@3231 6 SHORT_DESC="Cross-platform, open source .NET development framework"
rcx@3231 7 MAINTAINER="rcx@zoominternet.net"
pascal@15172 8 LICENSE="LGPL2"
pascal@15172 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15172 10 WEB_SITE="http://www.mono-project.com/"
pascal@15172 11 WGET_URL="http://download.mono-project.com/sources/$PACKAGE/$TARBALL"
pascal@15172 12
rcx@3231 13 DEPENDS="glib glibc-base zlib libgdiplus"
slaxemulator@9439 14 BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \
slaxemulator@12320 15 gettext glib-dev perl libgdiplus-dev"
rcx@3231 16
rcx@3231 17 # Build documentation at http://mono-project.com/Compiling_Mono
rcx@3231 18 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
rcx@3231 19
rcx@3231 20 # Rules to configure and make the package.
rcx@3231 21 compile_rules()
rcx@3231 22 {
rcx@3231 23 cd $src
rcx@3231 24 ./configure \
rcx@3949 25 --sysconfdir=/etc \
slaxemulator@12320 26 --with-libgdiplus=installed \
pascal@15172 27 $CONFIGURE_ARGS 2>&1 | grep -v /libtool &&
pascal@15279 28 make -j 1 2>&1 | grep -v 'dll.makefrag: No such file' && make install
slaxemulator@12320 29
pascal@15172 30 for i in System.Web_standalone_test_net_2_0 \
pascal@15172 31 System.Web_standalone_test_net_4_0 \
pascal@15172 32 System.Web.Extensions_standalone_test_net_2_0 \
pascal@15172 33 System.Web.Extensions_standalone_test_net_4_0 \
pascal@15172 34 net_2_0_standalone-runner-support \
pascal@15172 35 net_4_0_standalone-runner-support ; do
pascal@15172 36 touch -d 197001010000 mcs/build/deps/$i.dll.makefrag
pascal@15172 37 done
slaxemulator@12320 38 cd $src/mcs/jay
slaxemulator@12320 39 make -j 1 && make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install
slaxemulator@12320 40
slaxemulator@12320 41 #fix .pc file to be able to request mono on what it depends, fixes #go-oo build
slaxemulator@12320 42 sed -i -e "s:#Requires:Requires:" $DESTDIR/usr/lib/pkgconfig/mono.pc
rcx@3231 43 }
rcx@3231 44
rcx@3231 45 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3231 46 genpkg_rules()
rcx@3231 47 {
rcx@3231 48 mkdir -p $fs/usr/lib
pascal@15172 49 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15172 50 cp -a $install/usr/lib/mono $fs/usr/lib
pascal@15172 51 cp -a $install/usr/bin $fs/usr
pascal@15172 52 cp -a $install/etc $fs
rcx@3231 53 chmod +x $fs/usr/bin/*
rcx@3231 54 }