summaryrefslogtreecommitdiff
blob: 3f0482424f1bf959d747a1bacd50c74ec5bba150 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/dog-1.7.ebuild,v 1.13 2004/10/28 15:49:18 vapier Exp $

DESCRIPTION="Dog is better than cat"
HOMEPAGE="http://jl.photodex.com/dog/"
SRC_URI="http://jl.photodex.com/dog/${P}.tar.gz"

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

DEPEND=">=sys-apps/sed-4"

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i \
		-e 's/^CFLAGS/#CFLAGS/' \
		-e "s/gcc/$(tc-getCC)/" \
		Makefile
}

src_compile() {
	emake || die
}

src_install() {
	dobin dog || die
	doman dog.1
	dodoc README AUTHORS
}