Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 686504
Collapse All | Expand All

(-)a/dev-tex/sketch/sketch-0.3.7-r1.ebuild (+44 lines)
Line 0 Link Here
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit eutils toolchain-funcs
7
8
DESCRIPTION="Produces drawings of two- or three-dimensional solid objects and scenes for TeX"
9
HOMEPAGE="https://www.frontiernet.net/~eugene.ressler/"
10
SRC_URI="https://www.frontiernet.net/~eugene.ressler/${P}.tgz"
11
LICENSE="GPL-3+"
12
13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc64 ~x86"
15
IUSE="doc examples"
16
17
DEPEND="dev-lang/perl"
18
19
HTML_DOCS=( updates.htm )
20
21
src_prepare() {
22
	default
23
	sed -i -e "s:\$(CC):\$(CC) \$(LDFLAGS):" makefile || die
24
}
25
26
src_compile() {
27
	emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
28
}
29
30
src_install() {
31
	dobin sketch
32
	edos2unix Doc/sketch.info
33
	doinfo Doc/sketch.info
34
	if use doc ; then
35
		insinto /usr/share/doc/${PF}
36
		doins Doc/sketch.pdf
37
		HTML_DOCS+=( Doc/sketch/. )
38
	fi
39
	if use examples ; then
40
		insinto /usr/share/doc/${PF}/examples
41
		doins Data/*
42
	fi
43
	einstalldocs
44
}
(-)a/dev-tex/sketch/sketch-0.3.7.ebuild (-4 / +4 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=0
4
EAPI=0
Lines 6-14 EAPI=0 Link Here
6
inherit eutils toolchain-funcs
6
inherit eutils toolchain-funcs
7
7
8
DESCRIPTION="Produces drawings of two- or three-dimensional solid objects and scenes for TeX"
8
DESCRIPTION="Produces drawings of two- or three-dimensional solid objects and scenes for TeX"
9
HOMEPAGE="http://www.frontiernet.net/~eugene.ressler/"
9
HOMEPAGE="https://www.frontiernet.net/~eugene.ressler/"
10
SRC_URI="http://www.frontiernet.net/~eugene.ressler/${P}.tgz"
10
SRC_URI="https://www.frontiernet.net/~eugene.ressler/${P}.tgz"
11
LICENSE="GPL-3"
11
LICENSE="GPL-3+"
12
12
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~amd64 ~ppc64 ~x86"
14
KEYWORDS="~amd64 ~ppc64 ~x86"

Return to bug 686504