1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
11 DESCRIPTION="A commandline mixer"
12 HOMEPAGE="http://packages.debian.org/unstable/sound/setmixer"
13 SRC_URI="mirror://debian/pool/main/s/${PN}/${PN}_${MY_PV}.orig.tar.gz
14 mirror://debian/pool/main/s/${PN}/${PN}_${MY_PV}-${DEB_REV}.diff.gz"
18 KEYWORDS="amd64 ~ppc sparc x86"
21 S=${WORKDIR}/${PN}-${MY_PV}.orig
25 epatch "${DISTDIR}"/${PN}_${MY_PV}-${DEB_REV}.diff.gz
29 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
30 LDFLAGS="${LDFLAGS}" setmixer || die "emake failed."
35 dodoc README setmixer.lsm
38 doins debian/setmixer.conf
39 newinitd "${FILESDIR}"/setmixer.rc setmixer