summaryrefslogtreecommitdiff
path: root/sys-devel/slibtool/slibtool-9999.ebuild
blob: b0b74aa5e3821a2617b247d46c2cbf52a2163f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="A skinny libtool implementation, written in C"
HOMEPAGE="https://git.midipix.org/cgit.cgi/slibtool"
if [[ "${PV}" == *9999 ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://git.midipix.org/slibtool"
else
	SRC_URI="https://git.midipix.org/cgit.cgi/${PN}/snapshot/${P}.tar.xz"
	KEYWORDS="~amd64 ~arm"
fi
LICENSE="MIT"
SLOT="0"

src_configure() {
	# custom configure script (not generated by autoconf)
	./configure --host=${CHOST} --prefix="${EPREFIX}"/usr || die
}