summaryrefslogtreecommitdiff
blob: 9cdae937b118b136723893fef37e72738dd7ce19 (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
43
44
45
46
47
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/anubis/anubis-1.7.0.1.ebuild,v 1.2 2007/07/22 09:03:16 graaff Exp $

inherit versionator

MY_PV=$(replace_all_version_separators '_' ${PV})
DESCRIPTION="mathematic logic based programming language"
HOMEPAGE="http://www.anubis-language.com"
SRC_URI="mirror://gentoo/Anubis_${MY_PV}_Linux.tar.gz"

LICENSE="anubis"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""
RDEPEND="media-libs/jpeg
		dev-libs/openssl
		x11-libs/libX11"

src_unpack() {
	unpack "${A}"
	mkdir "${S}"
	tar -C "${S}" -xzf anubis_binaries.tar.gz
	tar -C "${S}" -xzf anubis_files.tar.gz
}

src_install() {
	insinto /usr/share/${PN}
	doins -r library server_certs trusted_certs
	for i in en fr ; do
		insinto /usr/share/doc/${P}/${i}
		doins ${i}/*
	done
	dobin bin/*
}

pkg_postinst() {
	ewarn ""
	ewarn "Please note that anubis is distributed under a restrictive license."
	ewarn "   The right to use Anubis Personal Edition is granted for free for"
	ewarn "    non-profit and personal/family use only."
	ewarn "For other uses, please contact licencing@anubis-language.com or visit "
	ewarn "http://www.anubis-language.com"
	ewarn ""
}