summaryrefslogtreecommitdiff
path: root/sys-process/xe/xe-1.0-r1.ebuild
blob: 1196e923cd53f7aee29a2b4c28c80b556620a36c (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-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Simple xargs and apply replacement with sane defaults"
HOMEPAGE="https://github.com/leahneukirchen/xe/"
SRC_URI="https://github.com/leahneukirchen/xe/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="test? ( dev-lang/perl )"

src_compile() {
	emake CC="$(tc-getCC)" CFLAGS="$CFLAGS"
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}