wok-current annotate mono/receipt @ rev 3231

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