You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-block/buffer/buffer-1.19-r2.ebuild

35 lines
807 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-block/buffer/buffer-1.19-r2.ebuild,v 1.5 2011/01/08 11:31:36 xmw Exp $
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="a tapedrive tool for speeding up reading from and writing to tape"
HOMEPAGE="http://www.microwerks.net/~hugo/"
SRC_URI="mirror://gentoo/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ppc sparc x86"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-deb-gentoo.patch
make clean || die "make clean failed"
}
src_compile() {
append-lfs-flags
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "make failed"
}
src_install() {
dobin buffer || die
dodoc README
newman buffer.man buffer.1
}