wok-next view mono/receipt @ rev 14225

freetype*: up 2.4.11; fontconfig*: up 2.10.91; add freetype-infinality* and fontconfig-infinality; gobject-introspection: up 1.32.1; gtk+3*: up 3.4.4; add gtk3-engine-solidity, gtk3-engine-unico; pixman*: up 0.28.2; add libxklavier, lightdm*; slitaz-i18n: add all existing translations.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 21 16:18:40 2013 +0000 (2013-03-21)
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 }