summaryrefslogtreecommitdiff
path: root/dev-util/tmake/tmake-2.12-r2.ebuild
blob: 354f5e3faf8a0eb7f1d751644ce7567a5741cb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Cross platform Makefile tool"
HOMEPAGE="https://tmake.sourceforge.net"
SRC_URI="https://downloads.sourceforge.net/tmake/${P}.tar.bz2"

LICENSE="HPND"
SLOT="0"
KEYWORDS="amd64 ppc x86"

RDEPEND=">=dev-lang/perl-5"

src_install() {
	dobin bin/tmake bin/progen
	dodir /usr/lib/tmake
	cp -pPRf "${S}"/lib/* "${ED}"/usr/lib/tmake
	dodoc -r README doc/*
	echo "TMAKEPATH=\"${EPREFIX}/usr/lib/tmake/linux-g++\"" > "${T}"/51tmake
	doenvd "${T}"/51tmake
}