blob: d13b5f6a8f6b914a98d7e6cecce2ea6126c4234b (
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
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/bmpanel/bmpanel-0.9.27-r1.ebuild,v 1.5 2012/12/17 20:44:04 hwoarang Exp $
EAPI=2
inherit base eutils
DESCRIPTION="a lightweight, NETWM compliant panel for X11 Window System."
HOMEPAGE="http://nsf.110mb.com/bmpanel"
SRC_URI="http://nsf.110mb.com/${PN}/${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
IUSE="debug libev libevent"
RDEPEND=">=media-libs/imlib2-1.4.0
media-libs/freetype:2
x11-libs/libX11
x11-libs/libXrender
x11-libs/libXcomposite
x11-libs/libXfixes
media-libs/fontconfig
libev? ( dev-libs/libev )
libevent? ( dev-libs/libevent )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/Makefile.patch"
)
DOCS=( AUTHORS README )
src_configure() {
# the provided configure script is broken.
# it doesn't provide --disable-foo, --host etc. so we can't use econf here.
local myconf="--prefix=/usr --ugly"
use debug && myconf="${myconf} --debug"
use libev && myconf="${myconf} --with-ev"
use libevent && myconf="${myconf} --with-event"
einfo "./configure ${myconf}"
./configure ${myconf} || die "configure failed"
}
|