summaryrefslogtreecommitdiff
blob: 348e4a0d15bbe60a6ad76e73fcd63f6e3b1b26ff (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit autotools eutils

DESCRIPTION="Runs a user-supplied command and can supervise its execution in many ways"
HOMEPAGE="http://people.debian.org/~enrico/launchtool.html"
SRC_URI="http://people.debian.org/~enrico/woody/source/${PN}_${PV}-1.tar.gz"

SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-2"
IUSE=""

RDEPEND="dev-libs/popt"
DEPEND="${RDEPEND}"

src_prepare() {
	epatch \
		"${FILESDIR}"/${PV}-gcc4.4.patch \
		"${FILESDIR}"/${PV}-Wall.patch \
		"${FILESDIR}"/${PV}-pid.patch
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog NEWS README TODO || die
	doman ${PN}.1 || die
}