summaryrefslogtreecommitdiff
blob: c631eada6ded48c614fd6058edac36ba90cd27ff (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"

inherit toolchain-funcs

DESCRIPTION="User-space tools for LinuxPPS"
HOMEPAGE="https://github.com/redlab-i/pps-tools"
SRC_URI="https://github.com/redlab-i/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

PATCHES=(
	"${FILESDIR}"/${PN}-1.0.1-build.patch
	"${FILESDIR}"/${PN}-1.0.1-install.patch
	"${FILESDIR}"/${PN}-1.0.1-LDFLAGS-fix.patch
)

src_prepare() {
	default

	tc-export CC
}