wok-4.x view mono/receipt @ rev 3410
Fix mplayerplug-in compile with gcc44 and glibc210
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Jun 12 17:28:25 2009 +0000 (2009-06-12) |
parents | |
children | eda0473a575d |
line source
1 # SliTaz package receipt.
3 PACKAGE="mono"
4 VERSION="2.4"
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="slitaz-toolchain tar bzip2 m4 pkg-config bison gawk gettext glib-dev zlib-dev libgdiplus-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mono-project.com/"
12 WGET_URL="ftp://ftp.novell.com/pub/mono/sources/$PACKAGE/$TARBALL"
14 # Build documentation at http://mono-project.com/Compiling_Mono
15 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/mono $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/etc $fs/usr
38 chmod +x $fs/usr/bin/*
39 }