diff options
Diffstat (limited to 'sci-libs/libgeda/libgeda-20060906.ebuild')
-rw-r--r-- | sci-libs/libgeda/libgeda-20060906.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sci-libs/libgeda/libgeda-20060906.ebuild b/sci-libs/libgeda/libgeda-20060906.ebuild new file mode 100644 index 000000000000..7bc23bc29798 --- /dev/null +++ b/sci-libs/libgeda/libgeda-20060906.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeda/libgeda-20060906.ebuild,v 1.1 2006/09/30 11:51:11 calchan Exp $ + +HOMEPAGE="http://www.geda.seul.org" +DESCRIPTION="libgeda - this library provides functions needed for the gEDA core suite" +SRC_URI="http://www.geda.seul.org/devel/${PV}/libgeda-${PV}.tar.gz" + +IUSE="static" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +SLOT="0" + +DEPEND=">=x11-libs/gtk+-2.4 + >=dev-util/guile-1.6.3 + >=dev-libs/libstroke-0.5.1" + +src_unpack() { + unpack ${A} + + # Skip the share sub-directory, we'll install prolog.ps manually + sed -i \ + -e "s:SUBDIRS = src include scripts docs share:SUBDIRS = src include scripts docs:" \ + ${S}/Makefile.in \ + || die "Patch failed" +} + +src_compile() { + local myconf + + use static && myconf="${myconf} --enable-static --disable-shared" + + econf \ + ${myconf} \ + --disable-gdgeda \ + disable-dependency-tracking \ + || die "Configuration failed" + + emake || die "Compilation failed" +} + +src_install() { + einstall || die "Installation failed" + + insinto /usr/share/gEDA + doins share/prolog.ps + + dodoc AUTHORS BUGS ChangeLog README +} |