blob: 10c3ac4039573a085101e857cbccb737154c42a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gnetman/gnetman-0.0.1_pre20060522-r2.ebuild,v 1.3 2012/05/25 07:49:02 xmw Exp $
EAPI=4
MY_P="${PN}-22May06"
DESCRIPTION="A GNU Netlist Manipulation Library"
HOMEPAGE="http://sourceforge.net/projects/gnetman/
http://www.viasic.com/opensource/"
SRC_URI="http://www.viasic.com/opensource/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
IUSE="doc examples"
KEYWORDS="~amd64 ~ppc ~x86"
S="${WORKDIR}/${MY_P}"
DEPEND="
dev-lang/tk
sci-electronics/geda"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/ sym / /' Makefile.in || die "sed failed"
if use examples ; then
sed -i -e "s:gEDA/sch/gnetman:doc/${PF}/examples:" \
sch/Makefile.in || die "sed failed"
sed -i -e "s:gEDA/examples/gnetman:doc/${PF}/examples:" \
test/Makefile.in || die "sed failed"
else
sed -i -e 's/ sch test//' Makefile.in || die "sed failed"
fi
}
src_install () {
default
use doc && dodoc doc/*.{html,jpg}
}
|