summaryrefslogtreecommitdiffstats
path: root/dev-libs/librin/librin-0.0.2.ebuild
blob: ae9a902ddef22206100d53f962f5a206833c6635 (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
48
49
50
51
52
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit autotools eutils multilib-minimal

if [[ ${PV} = 9999 ]]; then
	inherit git-r3
fi

DESCRIPTION="The Rin library"
HOMEPAGE="https://git.seriouss.am/librin/"

if [[ ${PV} = 9999 ]]; then
	EGIT_REPO_URI="https://git.seriouss.am/librin"
	KEYWORDS=""
else
	SRC_URI="https://git.seriouss.am/librin/snapshot/${P}.tar.bz2"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="LGPL-2.1"
SLOT="0"
RESTRICT="mirror test"

DEPEND=""

RDEPEND="${DEPEND}"

src_prepare() {
	eautoreconf
}

multilib_src_configure() {
	local myconf=(
	)
	ECONF_SOURCE=${S} \
		econf "${myconf[@]}"
}

multilib_src_compile() {
	default
}

multilib_src_install() {
	default
}

multilib_src_install_all() {
	prune_libtool_files --all
}