blob: a527a275b6cae02e634b3e5b116295fa8866af9a (
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
42
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit versionator
EAPI=2
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$(replace_all_version_separators '_')
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 -> ${MY_P}.tar.gz"
MY_P=SYM$(replace_all_version_separators ' _')
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc64"
IUSE=""
#### Remove the following line when moving this ebuild to the main tree!
RESTRICT="mirror"
RDEPEND=""
DEPEND=""
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"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
# symmetrica's documentation are just text files with a ".doc" extension.
dodoc README *.doc
}
|