wok view mono/receipt @ rev 24866

updated lv2 (1.16.0 -> 1.18.2)
author Hans-G?nter Theisgen
date Wed Mar 30 17:00:58 2022 +0100 (2022-03-30)
parents a78610b2eb47
children bd7510903310
line source
1 # SliTaz package receipt.
3 PACKAGE="mono"
4 VERSION="2.10.8"
5 CATEGORY="development"
6 SHORT_DESC="Cross-platform, open source .NET development framework"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.mono-project.com/"
11 WGET_URL="http://download.mono-project.com/sources/$PACKAGE/$TARBALL"
13 DEPENDS="glib glibc-base zlib libgdiplus"
14 BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \
15 gettext glib-dev perl libgdiplus-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Build documentation at http://mono-project.com/Compiling_Mono
25 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure \
32 --sysconfdir=/etc \
33 --with-libgdiplus=installed \
34 $CONFIGURE_ARGS 2>&1 | grep -v /libtool &&
35 make -j 1 2>&1 | grep -v 'dll.makefrag: No such file' && make install
37 for i in System.Web_standalone_test_net_2_0 \
38 System.Web_standalone_test_net_4_0 \
39 System.Web.Extensions_standalone_test_net_2_0 \
40 System.Web.Extensions_standalone_test_net_4_0 \
41 net_2_0_standalone-runner-support \
42 net_4_0_standalone-runner-support ; do
43 touch -d 197001010000 mcs/build/deps/$i.dll.makefrag
44 done
45 cd $src/mcs/jay
46 make -j 1 && make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install
48 #fix .pc file to be able to request mono on what it depends, fixes #go-oo build
49 sed -i -e "s:#Requires:Requires:" $DESTDIR/usr/lib/pkgconfig/mono.pc
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib
56 cp -a $install/usr/lib/*.so* $fs/usr/lib
57 cp -a $install/usr/lib/mono $fs/usr/lib
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/etc $fs
60 chmod +x $fs/usr/bin/*
61 }