Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 343877 | Differences between
and this patch

Collapse All | Expand All

(-)a/sys-block/gpart/gpart-0.1h-r2.ebuild (-1 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-block/gpart/gpart-0.1h-r2.ebuild,v 1.4 2010/03/29 06:40:52 jer Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-block/gpart/gpart-0.1h-r2.ebuild,v 1.4 2010/03/29 06:40:52 jer Exp $
4
4
5
inherit eutils
5
inherit eutils flag-o-matic
6
6
7
DESCRIPTION="Partition table rescue/guessing tool"
7
DESCRIPTION="Partition table rescue/guessing tool"
8
HOMEPAGE="http://www.stud.uni-hannover.de/user/76201/gpart/"
8
HOMEPAGE="http://www.stud.uni-hannover.de/user/76201/gpart/"
Lines 25-34 src_unpack() { Link Here
25
	epatch "${WORKDIR}"/gpart-0.1h-reiserfs-3.6.patch
25
	epatch "${WORKDIR}"/gpart-0.1h-reiserfs-3.6.patch
26
	epatch "${FILESDIR}"/${P}-l64seek.patch
26
	epatch "${FILESDIR}"/${P}-l64seek.patch
27
	epatch "${FILESDIR}"/${P}-openmode.patch
27
	epatch "${FILESDIR}"/${P}-openmode.patch
28
	epatch "${FILESDIR}"/${P}-amd64.patch
28
	sed -i -e "/^CFLAGS/s: -O2 : ${CFLAGS} :" make.defs
29
	sed -i -e "/^CFLAGS/s: -O2 : ${CFLAGS} :" make.defs
29
	sed -i -e "/^LDFLAGS/s:=:=${LDFLAGS} :" make.defs
30
	sed -i -e "/^LDFLAGS/s:=:=${LDFLAGS} :" make.defs
30
}
31
}
31
32
33
src_compile() {
34
	append-lfs-flags
35
	emake || die "emake failed"
36
}
37
32
src_install() {
38
src_install() {
33
	dobin src/gpart || die
39
	dobin src/gpart || die
34
	doman man/gpart.8
40
	doman man/gpart.8

Return to bug 343877