blob: 7fbe3fcb005251b0d1d00f8b3414f10641433bb5 (
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
|
EAPI="2"
DESCRIPTION="A simple Makefile generator for LaTeX"
HOMEPAGE="http://dabbelt.com/~palmer/software/tek/"
SRC_URI="https://github.com/palmer-dabbelt/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 amd64-linux"
IUSE=""
RDEPEND="sys-devel/pconfigure
sys-devel/make
dev-tex/tex4ht
media-gfx/xfig
media-gfx/imagemagick
media-gfx/inkscape
sci-visualization/gnuplot"
DEPEND="${RDEPEND}"
src_configure() {
rm Configfile.local >& /dev/null || true
touch Configfile.local
echo "PREFIX = ${EPREFIX}/usr" >> Configfile.local
echo "LANGUAGES += c" >> Configfile.local
for i in $(echo ${CFLAGS}); do
echo "COMPILEOPTS += ${i}" >> Configfile.local
done
echo "COMPILEOPTS += -DNDEBUG" >> Configfile.local
pconfigure
}
src_install() {
make D=$D install
}
|