wok rev 15172

mono: create makedepend files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 16 09:03:21 2013 +0000 (2013-08-16)
parents 036b997ec7e1
children 41ec34064348
files mono-dev/receipt mono-doc/receipt mono/receipt
line diff
     1.1 --- a/mono-dev/receipt	Fri Aug 16 08:40:38 2013 +0000
     1.2 +++ b/mono-dev/receipt	Fri Aug 16 09:03:21 2013 +0000
     1.3 @@ -6,14 +6,16 @@
     1.4  SHORT_DESC="mono development files."
     1.5  WEB_SITE="http://www.mono-project.com/"
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 +LICENSE="LGPL2"
     1.8 +WANTED="mono"
     1.9 +
    1.10  DEPENDS="mono"
    1.11 -WANTED="mono"
    1.12  
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16  	mkdir -p $fs/usr/lib
    1.17 -	cp -a $_pkg/usr/lib/*.a $fs/usr/lib
    1.18 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.19 -	cp -a $_pkg/usr/include $fs/usr
    1.20 +	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $install/usr/include $fs/usr
    1.23  }
     2.1 --- a/mono-doc/receipt	Fri Aug 16 08:40:38 2013 +0000
     2.2 +++ b/mono-doc/receipt	Fri Aug 16 09:03:21 2013 +0000
     2.3 @@ -6,11 +6,12 @@
     2.4  SHORT_DESC="mono documentation files."
     2.5  WEB_SITE="http://www.mono-project.com/"
     2.6  MAINTAINER="rcx@zoominternet.net"
     2.7 +LICENSE="LGPL2"
     2.8  WANTED="mono"
     2.9  
    2.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.11  genpkg_rules()
    2.12  {
    2.13  	mkdir -p $fs/usr/lib
    2.14 -	cp -a $_pkg/usr/lib/monodoc $fs/usr/lib
    2.15 +	cp -a $install/usr/lib/monodoc $fs/usr/lib
    2.16  }
     3.1 --- a/mono/receipt	Fri Aug 16 08:40:38 2013 +0000
     3.2 +++ b/mono/receipt	Fri Aug 16 09:03:21 2013 +0000
     3.3 @@ -5,12 +5,14 @@
     3.4  CATEGORY="development"
     3.5  SHORT_DESC="Cross-platform, open source .NET development framework"
     3.6  MAINTAINER="rcx@zoominternet.net"
     3.7 +LICENSE="LGPL2"
     3.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.9 +WEB_SITE="http://www.mono-project.com/"
    3.10 +WGET_URL="http://download.mono-project.com/sources/$PACKAGE/$TARBALL"
    3.11 +
    3.12  DEPENDS="glib glibc-base zlib libgdiplus"
    3.13  BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \
    3.14  gettext glib-dev perl libgdiplus-dev"
    3.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WEB_SITE="http://www.mono-project.com/"
    3.17 -WGET_URL="http://download.mono-project.com/sources/$PACKAGE/$TARBALL"
    3.18  
    3.19  # Build documentation at http://mono-project.com/Compiling_Mono
    3.20  # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
    3.21 @@ -22,9 +24,17 @@
    3.22  	./configure \
    3.23  		--sysconfdir=/etc \
    3.24  		--with-libgdiplus=installed \
    3.25 -		$CONFIGURE_ARGS  &&
    3.26 +		$CONFIGURE_ARGS 2>&1 | grep -v /libtool &&
    3.27  	make -j 1 && make install
    3.28  
    3.29 +	for i in System.Web_standalone_test_net_2_0 \
    3.30 +		 System.Web_standalone_test_net_4_0 \
    3.31 +		 System.Web.Extensions_standalone_test_net_2_0 \
    3.32 +		 System.Web.Extensions_standalone_test_net_4_0 \
    3.33 +		 net_2_0_standalone-runner-support \
    3.34 +		 net_4_0_standalone-runner-support ; do
    3.35 +		touch -d 197001010000 mcs/build/deps/$i.dll.makefrag
    3.36 +	done
    3.37  	cd $src/mcs/jay
    3.38  	make -j 1 && make DESTDIR=$DESTDIR prefix=/usr INSTALL=../../install-sh install
    3.39  
    3.40 @@ -36,9 +46,9 @@
    3.41  genpkg_rules()
    3.42  {
    3.43  	mkdir -p $fs/usr/lib
    3.44 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    3.45 -	cp -a $_pkg/usr/lib/mono $fs/usr/lib
    3.46 -	cp -a $_pkg/usr/bin $fs/usr
    3.47 -	cp -a $_pkg/etc $fs
    3.48 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.49 +	cp -a $install/usr/lib/mono $fs/usr/lib
    3.50 +	cp -a $install/usr/bin $fs/usr
    3.51 +	cp -a $install/etc $fs
    3.52  	chmod +x $fs/usr/bin/*
    3.53  }