diff options
author | 2007-08-19 21:16:52 +0000 | |
---|---|---|
committer | 2007-08-19 21:16:52 +0000 | |
commit | 110939480bf0908c591658279abdc89f416f5705 (patch) | |
tree | ddb925e76da45f9a6d4eb508ba703550786f6ab1 /dev-dotnet/pnetlib/pnetlib-0.8.0.ebuild | |
parent | dev-dotnet/pnet: version bump (diff) | |
download | historical-110939480bf0908c591658279abdc89f416f5705.tar.gz historical-110939480bf0908c591658279abdc89f416f5705.tar.bz2 historical-110939480bf0908c591658279abdc89f416f5705.zip |
dev-dotnet/pnetlib: version bump
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'dev-dotnet/pnetlib/pnetlib-0.8.0.ebuild')
-rw-r--r-- | dev-dotnet/pnetlib/pnetlib-0.8.0.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-dotnet/pnetlib/pnetlib-0.8.0.ebuild b/dev-dotnet/pnetlib/pnetlib-0.8.0.ebuild new file mode 100644 index 000000000000..ea4dd7a86b19 --- /dev/null +++ b/dev-dotnet/pnetlib/pnetlib-0.8.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pnetlib/pnetlib-0.8.0.ebuild,v 1.1 2007/08/19 21:16:51 jurek Exp $ + +inherit autotools eutils + +DESCRIPTION="Portable.NET C# library" +HOMEPAGE="http://www.dotgnu.org/" +SRC_URI="http://www.southern-storm.com.au/download/${P}.tar.gz" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~x86" +IUSE="doc truetype X" + +DEPEND="=dev-dotnet/pnet-${PV}* + X? ( x11-libs/libSM + x11-libs/libXft ) + truetype? ( virtual/xft ) + =sys-devel/automake-1.4_p6" + +RDEPEND="=dev-dotnet/pnet-${PV}* + X? ( x11-libs/libSM + x11-libs/libXft ) + truetype? ( virtual/xft )" + +src_unpack() { + unpack ${A} + cd ${S} + + # patch configure.in to detect renamed resgen.pnet ; bug #39369 + epatch ${FILESDIR}/0.8.0-resgen.patch + + eautoreconf || die "eautoreconf failed" +} + +src_compile() { + local lib_profile="default1.1" + + elog "Using profile: ${lib_profile}" + econf --with-profile=${lib_profile} \ + $(use_enable truetype xft) || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog HACKING NEWS README + + use doc && dodoc doc/*.txt + use doc && dohtml doc/*.html +} |