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