blob: 68cd3a73ac9e3d5935be823a52085ba0edbc6f05 (
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
|
# Copyright 1999-2008 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.4 2008/12/11 21:05:44 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="~amd64 ~ppc ~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
epatch "${FILESDIR}"/${P}-gcc-43-compile-fix.patch || die
}
src_compile() {
# no configure
emake CXXFLAGS="${CXXFLAGS}" || die "emake failed"
}
src_install() {
into /usr
dobin hardlink++
dodoc README
}
|