summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-electronics/geda/ChangeLog7
-rw-r--r--sci-electronics/geda/geda-1.1.1.ebuild85
-rw-r--r--sci-electronics/geda/geda-1.2.0.ebuild85
-rw-r--r--sci-electronics/geda/geda-20060123.ebuild82
-rw-r--r--sci-electronics/geda/geda-20061020.ebuild79
-rw-r--r--sci-electronics/geda/geda-20070216.ebuild84
-rw-r--r--sci-electronics/geda/geda-20070526.ebuild84
7 files changed, 6 insertions, 500 deletions
diff --git a/sci-electronics/geda/ChangeLog b/sci-electronics/geda/ChangeLog
index dd8a1a291830..925eb6d8232e 100644
--- a/sci-electronics/geda/ChangeLog
+++ b/sci-electronics/geda/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/geda
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v 1.44 2008/03/22 09:56:48 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v 1.45 2008/03/22 19:14:19 calchan Exp $
+
+ 22 Mar 2008; Denis Dupeyron <calchan@gentoo.org> -geda-1.1.1.ebuild,
+ -geda-1.2.0.ebuild, -geda-20060123.ebuild, -geda-20061020.ebuild,
+ -geda-20070216.ebuild, -geda-20070526.ebuild:
+ Post stabilization cleanup.
22 Mar 2008; nixnut <nixnut@gentoo.org> geda-1.4.0.ebuild:
Stable on ppc wrt bug 192905
diff --git a/sci-electronics/geda/geda-1.1.1.ebuild b/sci-electronics/geda/geda-1.1.1.ebuild
deleted file mode 100644
index d5b563da696a..000000000000
--- a/sci-electronics/geda/geda-1.1.1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-1.1.1.ebuild,v 1.2 2007/09/19 11:50:32 calchan Exp $
-
-inherit eutils
-
-SUBDIR="v1.1"
-S="${WORKDIR}"
-
-HOMEPAGE="http://www.geda.seul.org"
-DESCRIPTION="geda is a core metapackage which compiles all the necessary components you would need for a minimal gEDA/gaf system"
-SRC_URI="http://www.geda.seul.org/devel/${SUBDIR}/${PV}/geda-gattrib-${PV}.tar.gz
- http://www.geda.seul.org/devel/${SUBDIR}/${PV}/geda-gnetlist-${PV}.tar.gz
- http://www.geda.seul.org/devel/${SUBDIR}/${PV}/geda-gschem-${PV}.tar.gz
- http://www.geda.seul.org/devel/${SUBDIR}/${PV}/geda-gsymcheck-${PV}.tar.gz
- http://www.geda.seul.org/devel/${SUBDIR}/${PV}/geda-symbols-${PV}.tar.gz
- http://www.geda.seul.org/devel/${SUBDIR}/${PV}/geda-utils-${PV}.tar.gz
- doc? ( http://www.geda.seul.org/devel/${SUBDIR}/${PV}/geda-docs-${PV}.tar.gz )
- examples? ( http://www.geda.seul.org/devel/${SUBDIR}/${PV}/geda-examples-${PV}.tar.gz )"
-
-IUSE="doc examples gd"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-SLOT="0"
-
-DEPEND=">=x11-libs/gtk+-2.4
- =dev-scheme/guile-1.8*
- =sci-libs/libgeda-${PV}"
-
-pkg_setup() {
- if has_version ">=dev-scheme/guile-1.8" ; then
- built_with_use "dev-scheme/guile" deprecated \
- || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
- fi
- if use gd ; then
- built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=gd"
- else
- ! built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=-gd"
- fi
-}
-
-src_compile() {
- for subdir in geda-{gattrib,gnetlist,gschem,gsymcheck,symbols,utils}-${PV}; do
- cd ${S}/${subdir}
- econf \
- --disable-dependency-tracking \
- --with-docdir=/usr/share/doc/${PF} \
- --with-pcbconfdir=/usr/share/pcb \
- --with-pcbm4dir=/usr/share/pcb/m4 \
- || die "Configuration failed in ${subdir}"
- emake || die "Compilation failed in ${subdir}"
- done
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- econf --with-docdir=/usr/share/doc/${PF} || die "Configuration failed in geda-docs-${PV}"
- emake || die "Compilation failed in geda-docs-${PV}"
- fi
-}
-
-src_install () {
- for subdir in {gattrib,gnetlist,gschem,gsymcheck,symbols,utils}; do
- cd ${S}/geda-${subdir}-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-${subdir}-${PV}"
- newdoc AUTHORS AUTHORS.${subdir}
- newdoc BUGS BUGS.${subdir}
- for READMEx in $(ls README*); do
- newdoc ${READMEx} ${READMEx}.${subdir}
- done
- done
-
- rm ${D}/usr/share/gEDA/sym/gnetman -Rf # Fix collision with gnetman; bug #77361.
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-docs-${PV}"
- fi
-
- if use examples ; then
- cd ${S}
- mv geda-examples-${PV} examples
- insinto /usr/share/gEDA
- doins -r examples
- fi
-}
diff --git a/sci-electronics/geda/geda-1.2.0.ebuild b/sci-electronics/geda/geda-1.2.0.ebuild
deleted file mode 100644
index a65f3a689456..000000000000
--- a/sci-electronics/geda/geda-1.2.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-1.2.0.ebuild,v 1.1 2007/09/18 09:59:40 calchan Exp $
-
-inherit eutils
-
-SUBDIR="v1.2"
-S="${WORKDIR}"
-
-HOMEPAGE="http://www.geda.seul.org"
-DESCRIPTION="geda is a core metapackage which compiles all the necessary components you would need for a minimal gEDA/gaf system"
-SRC_URI="http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gattrib-${PV}.tar.gz
- http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gnetlist-${PV}.tar.gz
- http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gschem-${PV}.tar.gz
- http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gsymcheck-${PV}.tar.gz
- http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-symbols-${PV}.tar.gz
- http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-utils-${PV}.tar.gz
- doc? ( http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-docs-${PV}.tar.gz )
- examples? ( http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-examples-${PV}.tar.gz )"
-
-IUSE="doc examples gd"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-SLOT="0"
-
-DEPEND=">=x11-libs/gtk+-2.4
- >=dev-scheme/guile-1.6.3
- =sci-libs/libgeda-${PV}"
-
-pkg_setup() {
- if has_version ">=dev-scheme/guile-1.8" ; then
- built_with_use "dev-scheme/guile" deprecated \
- || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
- fi
- if use gd ; then
- built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=gd"
- else
- ! built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=-gd"
- fi
-}
-
-src_compile() {
- for subdir in geda-{gattrib,gnetlist,gschem,gsymcheck,symbols,utils}-${PV}; do
- cd ${S}/${subdir}
- econf \
- --disable-dependency-tracking \
- --with-docdir=/usr/share/doc/${PF} \
- --with-pcbconfdir=/usr/share/pcb \
- --with-pcbm4dir=/usr/share/pcb/m4 \
- || die "Configuration failed in ${subdir}"
- emake || die "Compilation failed in ${subdir}"
- done
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- econf --with-docdir=/usr/share/doc/${PF} || die "Configuration failed in geda-docs-${PV}"
- emake || die "Compilation failed in geda-docs-${PV}"
- fi
-}
-
-src_install () {
- for subdir in {gattrib,gnetlist,gschem,gsymcheck,symbols,utils}; do
- cd ${S}/geda-${subdir}-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-${subdir}-${PV}"
- newdoc AUTHORS AUTHORS.${subdir}
- newdoc BUGS BUGS.${subdir}
- for READMEx in $(ls README*); do
- newdoc ${READMEx} ${READMEx}.${subdir}
- done
- done
-
- rm ${D}/usr/share/gEDA/sym/gnetman -Rf # Fix collision with gnetman; bug #77361.
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-docs-${PV}"
- fi
-
- if use examples ; then
- cd ${S}
- mv geda-examples-${PV} examples
- insinto /usr/share/gEDA
- doins -r examples
- fi
-}
diff --git a/sci-electronics/geda/geda-20060123.ebuild b/sci-electronics/geda/geda-20060123.ebuild
deleted file mode 100644
index 7bf889cfe5c4..000000000000
--- a/sci-electronics/geda/geda-20060123.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-20060123.ebuild,v 1.9 2007/03/09 06:55:53 calchan Exp $
-
-inherit eutils
-
-S=${WORKDIR}
-
-HOMEPAGE="http://www.geda.seul.org"
-DESCRIPTION="geda is a core metapackage which compiles all the necessary components you would need for a minimal gEDA/gaf system"
-SRC_URI="http://www.geda.seul.org/devel/${PV}/geda-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-docs-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-examples-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gattrib-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gnetlist-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gschem-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gsymcheck-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-symbols-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-utils-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/libgeda-${PV}.tar.gz
- http://dev.gentoo.org/~plasmaroo/patches/geda/${P}.Makefile"
-
-IUSE=""
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc sparc x86"
-SLOT="0"
-
-DEPEND=">=dev-libs/glib-1.2.10
- >=x11-libs/gtk+-2.2
- >=dev-scheme/guile-1.6.3
- >=sys-libs/zlib-1.1.0
- >=media-libs/libpng-1.2.0
- >=dev-util/pkgconfig-0.15.0
- >=sci-libs/libgdgeda-2.0.15
- =sci-libs/libgeda-${PV}"
-
-pkg_setup() {
- if has_version ">=dev-scheme/guile-1.8" ; then
- built_with_use "dev-scheme/guile" deprecated \
- || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
- fi
-}
-
-src_unpack() {
- unpack geda-${PV}.tar.gz
- unpack geda-docs-${PV}.tar.gz
- unpack geda-examples-${PV}.tar.gz
- unpack geda-gattrib-${PV}.tar.gz
- unpack geda-gnetlist-${PV}.tar.gz
- unpack geda-gschem-${PV}.tar.gz
- unpack geda-gsymcheck-${PV}.tar.gz
- unpack geda-symbols-${PV}.tar.gz
- unpack geda-utils-${PV}.tar.gz
- unpack libgeda-${PV}.tar.gz
- for file in $(find geda-gnetlist-${PV} -name "*.scm"); do
- sed -e 's:/usr/X11R6/lib/X11/pcb/m4:/usr/share/pcb/m4:g' \
- -i ${file}
- done
- cp ${DISTDIR}/${P}.Makefile Makefile
- sed -i -e 's:prefix?=$(HOME)/geda:prefix=/usr:' Makefile || die 'Failed to patch Makefile!'
- sed -i -e 's:^opts=$:opts=--infodir=/usr/share/info --mandir=/usr/share/man:' Makefile || die 'Failed to patch Makefile!'
-}
-
-src_install () {
- make DESTDIR=${D} install || die
-
- cd libgeda-${PV}
- make DESTDIR=${D} uninstall || sh
- rm ${D}/usr/include -Rf
- rm ${D}/usr/share/gEDA/sym/gnetman -Rf # Fix collision with gnetman; bug #77361.
-
- cd ${S}
- dodoc geda-${PV}/AUTHORS geda-${PV}/README
-
- dodoc geda-gattrib-${PV}/{AUTHORS,README}
- dodoc geda-examples-${PV}/README
- dodoc geda-gnetlist-${PV}/AUTHORS geda-gnetlist-${PV}/BUGS
- dodoc geda-gschem-${PV}/AUTHORS geda-gschem-${PV}/BUGS
- dodoc geda-gsymcheck-${PV}/AUTHORS
- dodoc geda-symbols-${PV}/AUTHORS
- dodoc geda-utils-${PV}/AUTHORS geda-utils-${PV}/README*
-}
diff --git a/sci-electronics/geda/geda-20061020.ebuild b/sci-electronics/geda/geda-20061020.ebuild
deleted file mode 100644
index 5883ab8e45b7..000000000000
--- a/sci-electronics/geda/geda-20061020.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-20061020.ebuild,v 1.5 2007/03/09 06:55:53 calchan Exp $
-
-inherit eutils
-
-S="${WORKDIR}"
-
-HOMEPAGE="http://www.geda.seul.org"
-DESCRIPTION="geda is a core metapackage which compiles all the necessary components you would need for a minimal gEDA/gaf system"
-SRC_URI="http://www.geda.seul.org/devel/${PV}/geda-gattrib-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gnetlist-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gschem-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gsymcheck-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-symbols-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-utils-${PV}.tar.gz
- doc? ( http://www.geda.seul.org/devel/${PV}/geda-docs-${PV}.tar.gz )
- examples? ( http://www.geda.seul.org/devel/${PV}/geda-examples-${PV}.tar.gz )"
-
-IUSE="doc examples"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-SLOT="0"
-
-DEPEND=">=x11-libs/gtk+-2.4
- >=dev-scheme/guile-1.6.3
- =sci-libs/libgeda-${PV}"
-
-pkg_setup() {
- if has_version ">=dev-scheme/guile-1.8" ; then
- built_with_use "dev-scheme/guile" deprecated \
- || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
- fi
-}
-
-src_compile() {
- for subdir in geda-{gattrib,gnetlist,gschem,gsymcheck,symbols,utils}-${PV}; do
- cd ${S}/${subdir}
- econf \
- --disable-dependency-tracking \
- --with-docdir=/usr/share/doc/${PF} \
- --with-pcbconfdir=/usr/share/pcb \
- --with-pcbm4dir=/usr/share/pcb/m4 \
- || die "Configuration failed in ${subdir}"
- emake || die "Compilation failed in ${subdir}"
- done
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- econf --with-docdir=/usr/share/doc/${PF} || die "Configuration failed in geda-docs-${PV}"
- emake || die "Compilation failed in geda-docs-${PV}"
- fi
-}
-
-src_install () {
- for subdir in {gattrib,gnetlist,gschem,gsymcheck,symbols,utils}; do
- cd ${S}/geda-${subdir}-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-${subdir}-${PV}"
- newdoc AUTHORS AUTHORS.${subdir}
- newdoc BUGS BUGS.${subdir}
- for READMEx in $(ls README*); do
- newdoc ${READMEx} ${READMEx}.${subdir}
- done
- done
-
- rm ${D}/usr/share/gEDA/sym/gnetman -Rf # Fix collision with gnetman; bug #77361.
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-docs-${PV}"
- fi
-
- if use examples ; then
- cd ${S}
- mv geda-examples-${PV} examples
- insinto /usr/share/gEDA
- doins -r examples
- fi
-}
diff --git a/sci-electronics/geda/geda-20070216.ebuild b/sci-electronics/geda/geda-20070216.ebuild
deleted file mode 100644
index e0d75adb5f54..000000000000
--- a/sci-electronics/geda/geda-20070216.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-20070216.ebuild,v 1.4 2007/04/07 20:24:41 calchan Exp $
-
-inherit eutils
-
-S="${WORKDIR}"
-
-HOMEPAGE="http://www.geda.seul.org"
-DESCRIPTION="geda is a core metapackage which compiles all the necessary components you would need for a minimal gEDA/gaf system"
-SRC_URI="http://www.geda.seul.org/devel/${PV}/geda-gattrib-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gnetlist-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gschem-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gsymcheck-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-symbols-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-utils-${PV}.tar.gz
- doc? ( http://www.geda.seul.org/devel/${PV}/geda-docs-${PV}.tar.gz )
- examples? ( http://www.geda.seul.org/devel/${PV}/geda-examples-${PV}.tar.gz )"
-
-IUSE="doc examples gd"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-SLOT="0"
-
-DEPEND=">=x11-libs/gtk+-2.4
- >=dev-scheme/guile-1.6.3
- =sci-libs/libgeda-${PV}"
-
-pkg_setup() {
- if has_version ">=dev-scheme/guile-1.8" ; then
- built_with_use "dev-scheme/guile" deprecated \
- || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
- fi
- if use gd ; then
- built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=gd"
- else
- ! built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=-gd"
- fi
-}
-
-src_compile() {
- for subdir in geda-{gattrib,gnetlist,gschem,gsymcheck,symbols,utils}-${PV}; do
- cd ${S}/${subdir}
- econf \
- --disable-dependency-tracking \
- --with-docdir=/usr/share/doc/${PF} \
- --with-pcbconfdir=/usr/share/pcb \
- --with-pcbm4dir=/usr/share/pcb/m4 \
- || die "Configuration failed in ${subdir}"
- emake || die "Compilation failed in ${subdir}"
- done
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- econf --with-docdir=/usr/share/doc/${PF} || die "Configuration failed in geda-docs-${PV}"
- emake || die "Compilation failed in geda-docs-${PV}"
- fi
-}
-
-src_install () {
- for subdir in {gattrib,gnetlist,gschem,gsymcheck,symbols,utils}; do
- cd ${S}/geda-${subdir}-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-${subdir}-${PV}"
- newdoc AUTHORS AUTHORS.${subdir}
- newdoc BUGS BUGS.${subdir}
- for READMEx in $(ls README*); do
- newdoc ${READMEx} ${READMEx}.${subdir}
- done
- done
-
- rm ${D}/usr/share/gEDA/sym/gnetman -Rf # Fix collision with gnetman; bug #77361.
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-docs-${PV}"
- fi
-
- if use examples ; then
- cd ${S}
- mv geda-examples-${PV} examples
- insinto /usr/share/gEDA
- doins -r examples
- fi
-}
diff --git a/sci-electronics/geda/geda-20070526.ebuild b/sci-electronics/geda/geda-20070526.ebuild
deleted file mode 100644
index 2108257a3336..000000000000
--- a/sci-electronics/geda/geda-20070526.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-20070526.ebuild,v 1.1 2007/06/02 16:19:51 calchan Exp $
-
-inherit eutils
-
-S="${WORKDIR}"
-
-HOMEPAGE="http://www.geda.seul.org"
-DESCRIPTION="geda is a core metapackage which compiles all the necessary components you would need for a minimal gEDA/gaf system"
-SRC_URI="http://www.geda.seul.org/devel/${PV}/geda-gattrib-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gnetlist-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gschem-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-gsymcheck-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-symbols-${PV}.tar.gz
- http://www.geda.seul.org/devel/${PV}/geda-utils-${PV}.tar.gz
- doc? ( http://www.geda.seul.org/devel/${PV}/geda-docs-${PV}.tar.gz )
- examples? ( http://www.geda.seul.org/devel/${PV}/geda-examples-${PV}.tar.gz )"
-
-IUSE="doc examples gd"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-SLOT="0"
-
-DEPEND=">=x11-libs/gtk+-2.4
- >=dev-scheme/guile-1.6.3
- =sci-libs/libgeda-${PV}"
-
-pkg_setup() {
- if has_version ">=dev-scheme/guile-1.8" ; then
- built_with_use "dev-scheme/guile" deprecated \
- || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
- fi
- if use gd ; then
- built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=gd"
- else
- ! built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=-gd"
- fi
-}
-
-src_compile() {
- for subdir in geda-{gattrib,gnetlist,gschem,gsymcheck,symbols,utils}-${PV}; do
- cd ${S}/${subdir}
- econf \
- --disable-dependency-tracking \
- --with-docdir=/usr/share/doc/${PF} \
- --with-pcbconfdir=/usr/share/pcb \
- --with-pcbm4dir=/usr/share/pcb/m4 \
- || die "Configuration failed in ${subdir}"
- emake || die "Compilation failed in ${subdir}"
- done
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- econf --with-docdir=/usr/share/doc/${PF} || die "Configuration failed in geda-docs-${PV}"
- emake || die "Compilation failed in geda-docs-${PV}"
- fi
-}
-
-src_install () {
- for subdir in {gattrib,gnetlist,gschem,gsymcheck,symbols,utils}; do
- cd ${S}/geda-${subdir}-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-${subdir}-${PV}"
- newdoc AUTHORS AUTHORS.${subdir}
- newdoc BUGS BUGS.${subdir}
- for READMEx in $(ls README*); do
- newdoc ${READMEx} ${READMEx}.${subdir}
- done
- done
-
- rm ${D}/usr/share/gEDA/sym/gnetman -Rf # Fix collision with gnetman; bug #77361.
-
- if use doc ; then
- cd ${S}/geda-docs-${PV}
- emake DESTDIR=${D} install || die "Installation failed in geda-docs-${PV}"
- fi
-
- if use examples ; then
- cd ${S}
- mv geda-examples-${PV} examples
- insinto /usr/share/gEDA
- doins -r examples
- fi
-}