aboutsummaryrefslogtreecommitdiff
blob: 50394955cff4846259e6509070de81f7b4de66bd (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

DESCRIPTION="A collection of routine to handle a variety of topics"
HOMEPAGE="http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/index.html"
MY_P=SYM${PV//./_}
SRC_URI="http://www.neu.uni-bayreuth.de/de/Uni_Bayreuth/Fakultaeten/1_Mathematik_Physik_und_Informatik/Fachgruppe_Informatik/prof_diskrete_algorithmen/en/research/SYMMETRICA/${MY_P}_tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
IUSE="doc"

S="${WORKDIR}"

src_prepare() {
#	symmetrica by itself is just a bunch of files and a few headers
#	plus documentation that you can use as you wish in your programs.
#	For sage and ease of use we make it into a library with the following
#	makefile (developped by F. Bissey and T. Abbott (sage on debian).
	cp "${FILESDIR}/makefile" "${S}/makefile" || die
}

src_install() {
	default
	use doc && dodoc *.doc
}