diff options
author | Rainer Groesslinger <scandium@gentoo.org> | 2003-07-25 01:03:17 +0000 |
---|---|---|
committer | Rainer Groesslinger <scandium@gentoo.org> | 2003-07-25 01:03:17 +0000 |
commit | 7cec365d583cc2c59b0af6371cae6eafc078bec8 (patch) | |
tree | 2f640c013507f8ce9df8cd3c1381e3fff14c6e70 /dev-dotnet/pnetlib | |
parent | move to dev-dotnet (diff) | |
download | historical-7cec365d583cc2c59b0af6371cae6eafc078bec8.tar.gz historical-7cec365d583cc2c59b0af6371cae6eafc078bec8.tar.bz2 historical-7cec365d583cc2c59b0af6371cae6eafc078bec8.zip |
move to dev-dotnet
Diffstat (limited to 'dev-dotnet/pnetlib')
-rw-r--r-- | dev-dotnet/pnetlib/Manifest | 8 | ||||
-rw-r--r-- | dev-dotnet/pnetlib/files/Xsharp.patch | 11 | ||||
-rw-r--r-- | dev-dotnet/pnetlib/files/configure-X11.patch | 24 | ||||
-rw-r--r-- | dev-dotnet/pnetlib/files/digest-pnetlib-0.5.8 | 1 | ||||
-rw-r--r-- | dev-dotnet/pnetlib/metadata.xml | 5 | ||||
-rw-r--r-- | dev-dotnet/pnetlib/pnetlib-0.5.8.ebuild | 42 |
6 files changed, 87 insertions, 4 deletions
diff --git a/dev-dotnet/pnetlib/Manifest b/dev-dotnet/pnetlib/Manifest index 54dcdc341dd1..3061e34be5f2 100644 --- a/dev-dotnet/pnetlib/Manifest +++ b/dev-dotnet/pnetlib/Manifest @@ -1,6 +1,6 @@ -MD5 c3e510244f88507855857b7f95c6a390 ChangeLog 1076 -MD5 7c7f32c0204da3a68f64441d01acdfa9 pnetlib-0.5.8.ebuild 864 -MD5 7aafe9575b2ba436030a1cbd1b89fa99 metadata.xml 259 -MD5 cd196cf2d1660318c6bd5f237db30b17 files/Xsharp.patch 415 +MD5 8f75a661d8829e871ba49d164956abd7 ChangeLog 1272 +MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159 +MD5 91facf1d76cbca92b798f59f4aa667bb pnetlib-0.5.8.ebuild 868 MD5 655a67b55b475808a9b00c128e408026 files/digest-pnetlib-0.5.8 66 +MD5 cd196cf2d1660318c6bd5f237db30b17 files/Xsharp.patch 415 MD5 6aaecd9809adecd2a82d6f7bd5524876 files/configure-X11.patch 711 diff --git a/dev-dotnet/pnetlib/files/Xsharp.patch b/dev-dotnet/pnetlib/files/Xsharp.patch new file mode 100644 index 000000000000..5a62aaeb310f --- /dev/null +++ b/dev-dotnet/pnetlib/files/Xsharp.patch @@ -0,0 +1,11 @@ +--- Xsharp/Makefile.am 2003-06-11 09:08:39.000000000 +0200 ++++ Xsharp/Makefile.am 2003-07-02 15:28:20.000000000 +0200 +@@ -5,7 +5,7 @@ + xsupport_LTLIBRARIES = libXsharpSupport.la + + libXsharpSupport_la_SOURCES = XsharpSupport.c +-libXsharpSupport_la_LDFLAGS = $(X_LIBS) $(X_PRE_LIBS) -lX11 $(X_EXTRA_LIBS) ++libXsharpSupport_la_LDFLAGS = $(X_LIBS) $(X_PRE_LIBS) $(X11_LIB) $(X_EXTRA_LIBS) + + AM_CFLAGS = $(X_CFLAGS) + diff --git a/dev-dotnet/pnetlib/files/configure-X11.patch b/dev-dotnet/pnetlib/files/configure-X11.patch new file mode 100644 index 000000000000..efdf7a33a803 --- /dev/null +++ b/dev-dotnet/pnetlib/files/configure-X11.patch @@ -0,0 +1,24 @@ +--- configure.in 2003-06-17 06:11:06.000000000 +0200 ++++ configure.in 2003-07-02 15:25:54.000000000 +0200 +@@ -16,6 +16,7 @@ + AC_SUBST(ILFIND) + AC_SUBST(ASSEMBLY_LINKER) + AC_SUBST(PNET_PATH) ++AC_SUBST(X11_LIB) + + dnl Checks for programs. + AC_PROG_AWK +@@ -43,6 +44,13 @@ + AC_CHECK_HEADERS(time.h sys/time.h sys/types.h sys/select.h unistd.h) + AC_CHECK_FUNCS(select) + ++dnl Determine if we should add -lX11 to the link line of "libXsharpSupport.so". ++if test "x$no_x" = "xyes" ; then ++ X11_LIB= ++else ++ X11_LIB=-lX11 ++fi ++ + dnl The --with-pnet option can be used to specify the location of + dnl Portable.NET, so that we know where to get the C# compiler, etc. + dnl The default location is assumed to be "../pnet". diff --git a/dev-dotnet/pnetlib/files/digest-pnetlib-0.5.8 b/dev-dotnet/pnetlib/files/digest-pnetlib-0.5.8 new file mode 100644 index 000000000000..de296346d9d4 --- /dev/null +++ b/dev-dotnet/pnetlib/files/digest-pnetlib-0.5.8 @@ -0,0 +1 @@ +MD5 bd67c9334a1c24278713a45d9b1d42bc pnetlib-0.5.8.tar.gz 2140451 diff --git a/dev-dotnet/pnetlib/metadata.xml b/dev-dotnet/pnetlib/metadata.xml new file mode 100644 index 000000000000..e85974a7fa17 --- /dev/null +++ b/dev-dotnet/pnetlib/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-dotnet/pnetlib/pnetlib-0.5.8.ebuild b/dev-dotnet/pnetlib/pnetlib-0.5.8.ebuild new file mode 100644 index 000000000000..e76aab760242 --- /dev/null +++ b/dev-dotnet/pnetlib/pnetlib-0.5.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnetlib/pnetlib-0.5.8.ebuild,v 1.1 2003/07/25 01:02:39 scandium Exp $ + +inherit eutils libtool + +DESCRIPTION="Portable .NET C# library" +HOMEPAGE="http://www.dotgnu.org/" +SRC_URI="mirror://gnu/dotgnu-pnet/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +IUSE="X" + +DEPEND="=dev-dotnet/pnet-${PV}* + X? ( virtual/x11 )" + +src_unpack() { +# Small patch to fix compilation on systems without X11 + + unpack ${A} + cd ${S} + epatch ${FILESDIR}/Xsharp.patch + epatch ${FILESDIR}/configure-X11.patch + elibtoolize + ./auto_gen.sh || die +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + einstall || die + + dodoc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README + dodoc doc/*.txt + dohtml doc/*.html +} |