wok annotate mono/receipt @ rev 25315
updated soprano and soprano-dev (2.8.0 -> 2.9.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 21 06:45:43 2022 +0100 (2022-07-21) |
parents | 241fb98cab1c |
children |
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@20669 | 10 WEB_SITE="https://www.mono-project.com/" |
pascal@24972 | 11 WGET_URL="https://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 |
pascal@24453 | 17 # What is the latest version available today? |
pascal@24453 | 18 current_version() |
pascal@24453 | 19 { |
pascal@24453 | 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 22 } |
pascal@24453 | 23 |
rcx@3231 | 24 # Build documentation at http://mono-project.com/Compiling_Mono |
rcx@3231 | 25 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4 |
rcx@3231 | 26 |
rcx@3231 | 27 # Rules to configure and make the package. |
rcx@3231 | 28 compile_rules() |
rcx@3231 | 29 { |
rcx@3231 | 30 cd $src |
rcx@3231 | 31 ./configure \ |
rcx@3949 | 32 --sysconfdir=/etc \ |
slaxemulator@12320 | 33 --with-libgdiplus=installed \ |
pascal@15172 | 34 $CONFIGURE_ARGS 2>&1 | grep -v /libtool && |
pascal@15279 | 35 make -j 1 2>&1 | grep -v 'dll.makefrag: No such file' && make install |
slaxemulator@12320 | 36 |
pascal@15172 | 37 for i in System.Web_standalone_test_net_2_0 \ |
pascal@15172 | 38 System.Web_standalone_test_net_4_0 \ |
pascal@15172 | 39 System.Web.Extensions_standalone_test_net_2_0 \ |
pascal@15172 | 40 System.Web.Extensions_standalone_test_net_4_0 \ |
pascal@15172 | 41 net_2_0_standalone-runner-support \ |
pascal@15172 | 42 net_4_0_standalone-runner-support ; do |
pascal@15172 | 43 touch -d 197001010000 mcs/build/deps/$i.dll.makefrag |
pascal@15172 | 44 done |
slaxemulator@12320 | 45 cd $src/mcs/jay |
slaxemulator@12320 | 46 make -j 1 && make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install |
slaxemulator@12320 | 47 |
slaxemulator@12320 | 48 #fix .pc file to be able to request mono on what it depends, fixes #go-oo build |
slaxemulator@12320 | 49 sed -i -e "s:#Requires:Requires:" $DESTDIR/usr/lib/pkgconfig/mono.pc |
rcx@3231 | 50 } |
rcx@3231 | 51 |
rcx@3231 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3231 | 53 genpkg_rules() |
rcx@3231 | 54 { |
rcx@3231 | 55 mkdir -p $fs/usr/lib |
pascal@15172 | 56 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15172 | 57 cp -a $install/usr/lib/mono $fs/usr/lib |
pascal@15172 | 58 cp -a $install/usr/bin $fs/usr |
pascal@15172 | 59 cp -a $install/etc $fs |
rcx@3231 | 60 chmod +x $fs/usr/bin/* |
rcx@3231 | 61 } |