# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Control the behaviour of your cdrom device" HOMEPAGE="http://packages.debian.org/stable/utils/setcd" SRC_URI="http://ftp.debian.org/debian/pool/main/s/setcd/setcd_1.5.orig.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="" DEPEND="app-text/rcs" src_unpack() { unpack "${A}" cd "${S}" epatch "${FILESDIR}"/${P}.patch } src_compile() { emake FLAGS="${CFLAGS}" || die "emake failed" } src_install() { dobin setcd fperms /usr/bin/setcd doman setcd.1 dodoc README ChangeLog }