summaryrefslogtreecommitdiffstats
path: root/x11-plugins/wmvolman/wmvolman-2.0.1-r1.ebuild
blob: 7a78a5977780c5e1b08b13a85c2a5fe3688b3660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmauda/wmauda-0.3.ebuild,v 1.1 2006/10/31 05:03:51 vericgar Exp $

EAPI=5
inherit eutils autotools 

DESCRIPTION="Dockable applet for WindowMaker that handles hotpluggable devices and removable media."
SRC_URI="https://github.com/raorn/${PN}/archive/${PV}.tar.gz"
HOMEPAGE="http://people.altlinux.ru/~raorn/wmvolman.html"

DEPEND="sys-fs/udisks:2
	>=x11-libs/libdockapp-0.6.0
	>=dev-libs/glib-2.31.13"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 amd64"

src_unpack() {
    unpack ${A}
    cd ${S}
}

src_prepare() {
    epatch "${FILESDIR}"/wmvolman-2.0.1-ds-include.diff || die "patch failed"
}

src_compile() {
    eautoreconf || die
    econf --prefix="/usr"
    emake || die
}

src_install () {
	make DESTDIR="${D}" PREFIX="/usr" install || die "make install failed"
	dodoc README AUTHORS NEWS
}