wok-6.x diff mono/receipt @ rev 3787
Up: python-docutils (snapshot)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jul 31 23:29:39 2009 +0000 (2009-07-31) |
parents | |
children | eda0473a575d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mono/receipt Fri Jul 31 23:29:39 2009 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mono" 1.7 +VERSION="2.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Cross-platform, open source .NET development framework" 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glib glibc-base zlib libgdiplus" 1.12 +BUILD_DEPENDS="slitaz-toolchain tar bzip2 m4 pkg-config bison gawk gettext glib-dev zlib-dev libgdiplus-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://www.mono-project.com/" 1.15 +WGET_URL="ftp://ftp.novell.com/pub/mono/sources/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Build documentation at http://mono-project.com/Compiling_Mono 1.18 +# and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && 1.30 + make DESTDIR=$PWD/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/lib 1.37 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.38 + cp -a $_pkg/usr/lib/mono $fs/usr/lib 1.39 + cp -a $_pkg/usr/bin $fs/usr 1.40 + cp -a $_pkg/usr/etc $fs/usr 1.41 + chmod +x $fs/usr/bin/* 1.42 +} 1.43 +