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/app-misc/cdctl/cdctl-0.15.ebuild

36 lines
699 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils toolchain-funcs
DESCRIPTION="Utility to control your cd/dvd drive"
HOMEPAGE="http://cdctl.sourceforge.net/"
SRC_URI="mirror://sourceforge/cdctl/${P}.tar.gz"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="x86 ppc amd64 ppc64"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-Makefile.in.patch
epatch "${FILESDIR}"/${P}-cdc_ioctls.patch
}
src_compile() {
econf
emake CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
|| die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc NEWS NUTSANDBOLTS PUBLICKEY README
}