summaryrefslogtreecommitdiff
path: root/sys-devel/ucpp/ucpp-1.3.5.ebuild
blob: a96add67de8642740ae175a935767d4f0f199994 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Library for preprocessing C compliant to ISO-C99"
HOMEPAGE="https://gitlab.com/scarabeusiv/ucpp"
SRC_URI="https://gitlab.com/scarabeusiv/${PN}/uploads/79f08e39c676f15ed8a59335f6c9b924/${P}.tar.xz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~loong ppc ~ppc64 ~riscv x86 ~amd64-linux"

src_configure() {
	econf \
		--disable-werror \
		--disable-static
}

src_install() {
	default

	# no static archives
	find "${ED}" -name '*.la' -type f -delete || die
}