wok-current annotate mono/receipt @ rev 14164
nut: up 2.6.5
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Mar 07 20:38:21 2013 -0800 (2013-03-07) |
parents | 1c9a0f9f7ad6 |
children | c34af2cd7b0c |
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" |
rcx@3231 | 8 DEPENDS="glib glibc-base zlib libgdiplus" |
slaxemulator@9439 | 9 BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \ |
slaxemulator@12320 | 10 gettext glib-dev perl libgdiplus-dev" |
slaxemulator@12320 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3231 | 12 WEB_SITE="http://www.mono-project.com/" |
slaxemulator@12320 | 13 WGET_URL="http://download.mono-project.com/sources/$PACKAGE/$TARBALL" |
rcx@3231 | 14 |
rcx@3231 | 15 # Build documentation at http://mono-project.com/Compiling_Mono |
rcx@3231 | 16 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4 |
rcx@3231 | 17 |
rcx@3231 | 18 # Rules to configure and make the package. |
rcx@3231 | 19 compile_rules() |
rcx@3231 | 20 { |
rcx@3231 | 21 cd $src |
rcx@3231 | 22 ./configure \ |
rcx@3949 | 23 --sysconfdir=/etc \ |
slaxemulator@12320 | 24 --with-libgdiplus=installed \ |
rcx@3231 | 25 $CONFIGURE_ARGS && |
slaxemulator@12320 | 26 make -j 1 && make install |
slaxemulator@12320 | 27 |
slaxemulator@12320 | 28 cd $src/mcs/jay |
slaxemulator@12320 | 29 make -j 1 && make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install |
slaxemulator@12320 | 30 |
slaxemulator@12320 | 31 #fix .pc file to be able to request mono on what it depends, fixes #go-oo build |
slaxemulator@12320 | 32 sed -i -e "s:#Requires:Requires:" $DESTDIR/usr/lib/pkgconfig/mono.pc |
rcx@3231 | 33 } |
rcx@3231 | 34 |
rcx@3231 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3231 | 36 genpkg_rules() |
rcx@3231 | 37 { |
rcx@3231 | 38 mkdir -p $fs/usr/lib |
rcx@3231 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3231 | 40 cp -a $_pkg/usr/lib/mono $fs/usr/lib |
rcx@3231 | 41 cp -a $_pkg/usr/bin $fs/usr |
rcx@3949 | 42 cp -a $_pkg/etc $fs |
rcx@3231 | 43 chmod +x $fs/usr/bin/* |
rcx@3231 | 44 } |