wok-4.x annotate mono/receipt @ rev 8582
imported patch get/v4l-dvb
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:57 2011 +0100 (2011-02-13) |
parents | 9eb4f0d98a8a |
children | fdc35059afd9 |
rev | line source |
---|---|
rcx@3231 | 1 # SliTaz package receipt. |
rcx@3231 | 2 |
rcx@3231 | 3 PACKAGE="mono" |
slaxemulator@7929 | 4 VERSION="2.8.2" |
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@3949 | 9 BUILD_DEPENDS="slitaz-toolchain tar bzip2 m4 pkg-config bison gawk \ |
rcx@3949 | 10 gettext glib-dev zlib-dev libgdiplus-dev" |
rcx@3231 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3231 | 12 WEB_SITE="http://www.mono-project.com/" |
rcx@3231 | 13 WGET_URL="ftp://ftp.novell.com/pub/mono/sources/$PACKAGE/$TARBALL" |
rcx@3231 | 14 |
rcx@3231 | 15 # Build documentation at http://mono-project.com/Compiling_Mono |
rcx@3231 | 16 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4 |
rcx@3231 | 17 |
rcx@3231 | 18 # Rules to configure and make the package. |
rcx@3231 | 19 compile_rules() |
rcx@3231 | 20 { |
rcx@3231 | 21 cd $src |
rcx@3231 | 22 ./configure \ |
rcx@3231 | 23 --prefix=/usr \ |
rcx@3231 | 24 --infodir=/usr/share/info \ |
rcx@3231 | 25 --mandir=/usr/share/man \ |
rcx@3949 | 26 --sysconfdir=/etc \ |
rcx@3231 | 27 $CONFIGURE_ARGS && |
slaxemulator@7953 | 28 make -j 1 && |
rcx@3231 | 29 make DESTDIR=$PWD/_pkg install |
rcx@3231 | 30 } |
rcx@3231 | 31 |
rcx@3231 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3231 | 33 genpkg_rules() |
rcx@3231 | 34 { |
rcx@3231 | 35 mkdir -p $fs/usr/lib |
rcx@3231 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3231 | 37 cp -a $_pkg/usr/lib/mono $fs/usr/lib |
rcx@3231 | 38 cp -a $_pkg/usr/bin $fs/usr |
rcx@3949 | 39 cp -a $_pkg/etc $fs |
rcx@3231 | 40 chmod +x $fs/usr/bin/* |
rcx@3231 | 41 } |