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

Collapse All | Expand All

(-)buffer-1.19-r2.ebuild (-9 / +10 lines)
Lines 2-7 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/buffer/buffer-1.19-r2.ebuild,v 1.4 2010/12/02 23:58:07 xmw Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-block/buffer/buffer-1.19-r2.ebuild,v 1.4 2010/12/02 23:58:07 xmw Exp $
4
4
5
EAPI=2
6
5
inherit eutils flag-o-matic toolchain-funcs
7
inherit eutils flag-o-matic toolchain-funcs
6
8
7
DESCRIPTION="a tapedrive tool for speeding up reading from and writing to tape"
9
DESCRIPTION="a tapedrive tool for speeding up reading from and writing to tape"
Lines 10-34 Link Here
10
12
11
LICENSE="GPL-2"
13
LICENSE="GPL-2"
12
SLOT="0"
14
SLOT="0"
13
KEYWORDS="amd64 ~arm ppc ~sparc x86"
15
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
14
IUSE=""
16
IUSE=""
15
17
16
DEPEND=""
18
DEPEND=""
17
19
18
src_unpack() {
20
src_prepare() {
19
	unpack ${A}
21
	epatch "${FILESDIR}"/${PV}-deb-gentoo.patch
20
	cd ${S}
22
	epatch "${FILESDIR}"/${PV}-LDFLAGS.patch
21
	epatch ${FILESDIR}/${PV}-deb-gentoo.patch
23
	emake clean || die
22
	make clean || die "make clean failed"
23
}
24
}
24
25
25
src_compile() {
26
src_compile() {
26
	append-lfs-flags
27
	append-lfs-flags
27
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "make failed"
28
	emake CC="$(tc-getCC)" || die
28
}
29
}
29
30
30
src_install() {
31
src_install() {
31
	dobin buffer || die
32
	dobin buffer || die
32
	dodoc README
33
	dodoc README || die
33
	newman buffer.man buffer.1
34
	newman buffer.man buffer.1 || die
34
}
35
}

Return to bug 335378