blob: 21fc2c1feec9e9c48fa50d7afeffee4d9d4059ba (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="X11 protocol trace utility"
HOMEPAGE="https://salsa.debian.org/debian/xtrace"
SRC_URI="https://salsa.debian.org/debian/${PN}/-/archive/${P}/${PN}-${P}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~s390 ~sh ~x86"
DEPEND="x11-base/xorg-proto
x11-libs/libXext
x11-libs/libX11"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-${P}"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf --program-transform-name="s/^x/x11/"
}
pkg_postinst() {
einfo "To avoid collision with glibc (/usr/bin/xtrace)"
einfo "binary was renamed to x11trace, as suggested by author"
}
|