blob: 9d8af1733d8d6fdbe5e126cfd8b1d82c804416c6 (
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/wmrack/wmrack-1.2.0.ebuild,v 1.5 2006/01/31 20:34:28 nelchael Exp $
inherit eutils
IUSE=""
MY_P=${P/2.0/2}
DESCRIPTION="A WindowMaker Dock CD+Sound Applet"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
HOMEPAGE="http://wmrack.sf.net/"
DEPEND="|| ( >=x11-wm/windowmaker-0.62.0
x11-wm/windowmaker-cvs )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc"
S=${WORKDIR}/${MY_P}
src_compile()
{
cd ${S}
econf --with-x --prefix=/usr --sysconfdir=/etc --x-includes=/usr/include/ --x-libraries=$(get_libdir) || die "Configuration failed"
emake || die "Compilation failed"
}
src_install()
{
cd ${S}
einstall MANDIR=${D}/usr/share/man || die "Installation failed"
dodoc README TODO WARRANTY
insinto /usr/share/applications
doins ${FILESDIR}/${PN}.desktop
}
|