summaryrefslogtreecommitdiff
blob: afc3464f730deb4df12c80532c6eb22f30b36be7 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/hardlink++/hardlink++-0.02.ebuild,v 1.1 2005/01/30 04:27:49 robbat2 Exp $

inherit eutils
DESCRIPTION="Save disk space by hardlinking identical files."
HOMEPAGE="http://www.sodarock.com/hardlink/"
SRC_URI="${HOMEPAGE}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="sys-devel/gcc"
RDEPEND=""

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${P}-gcc34-optimize-help.patch || die
	epatch ${FILESDIR}/${P}-sane-makefile.patch || die
}

src_compile() {
	# no configure
	emake CXXFLAGS="${CXXFLAGS}" || die "emake failed"
}

src_install() {
	into /usr
	dobin hardlink++
	dodoc README
}