summaryrefslogtreecommitdiff
blob: 8df9d6b6b2c101a4e46aef9cc60da77f5d37f3b9 (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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/moreutils-0.29.ebuild,v 1.1 2008/05/10 05:39:50 gregkh Exp $

inherit eutils

DESCRIPTION="a growing collection of the unix tools that nobody thought to write
thirty years ago"
HOMEPAGE="http://kitenet.net/~joey/code/moreutils/"
SRC_URI="http://ftp.de.debian.org/debian/pool/main/m/moreutils/moreutils_${PV}.tar.gz"

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

RDEPEND="dev-lang/perl"
DEPEND="${RDEPEND}
	app-text/docbook2X"

src_unpack() {
	unpack ${A}
	cd "${WORKDIR}/moreutils"
	epatch "${FILESDIR}/docbook-makefile.patch"
}

src_compile() {
	cd "${WORKDIR}/moreutils"
	emake CFLAGS="${CFLAGS}" || die "emake failed"
}

src_install() {
	cd "${WORKDIR}/moreutils"
	emake PREFIX="${D}" install || die "install failed"
}