summaryrefslogtreecommitdiff
blob: bcadb1f72eb2a0fa8459f480fdc0827f9f8ba180 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit latex-package

DESCRIPTION="This is a sample skeleton ebuild file"
HOMEPAGE="http://altermundus.com/pages/graphtheory.html"
SRC_URI="http://altermundus.com/downloads/packages/tkz-arith.sty
	http://altermundus.com/downloads/packages/${PN}.sty"

# TODO: no license found

LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

# TODO: examples

RESTRICT="mirror"

# TODO: check dependencies

DEPEND=">=dev-tex/tkz-graph-2.7d"
RDEPEND="${DEPEND}"

# TODO: is there a more convenient way to do the following ?

src_unpack() {
	mkdir "${S}" || die "mkdir failed"

	for i in ${A} ; do
		cp "${DISTDIR}"/${i} "${S}" || die "cp failed"
	done
}