| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmixer/wmmixer-1.5.ebuild,v 1.1 2008/12/22 22:51:03 ssuominen Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit eutils toolchain-funcs
|
| 8 |
|
| 9 |
DESCRIPTION="A mixer designed for WindowMaker"
|
| 10 |
HOMEPAGE="http://packages.qa.debian.org/w/wmmixer.html"
|
| 11 |
SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.orig.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~mips ~sparc ~x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
RDEPEND="x11-libs/libX11
|
| 19 |
x11-libs/libXext
|
| 20 |
x11-libs/libXpm"
|
| 21 |
DEPEND="${RDEPEND}
|
| 22 |
x11-proto/xproto
|
| 23 |
x11-proto/xextproto"
|
| 24 |
|
| 25 |
S=${WORKDIR}/${PN}
|
| 26 |
|
| 27 |
src_prepare() {
|
| 28 |
epatch "${FILESDIR}"/${P}-respect_flags.patch
|
| 29 |
}
|
| 30 |
|
| 31 |
src_compile() {
|
| 32 |
emake CXX=$(tc-getCXX)
|
| 33 |
}
|
| 34 |
|
| 35 |
src_install() {
|
| 36 |
emake DESTDIR="${D}" install
|
| 37 |
dodoc CHANGES home.wmmixer README
|
| 38 |
}
|