Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbacpi/bbacpi-0.1.5-r1.ebuild,v 1.2 2010/07/08 08:30:58 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbacpi/bbacpi-0.1.5-r1.ebuild,v 1.2 2010/07/08 08:30:58 ssuominen Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=2 |
6 |
inherit eutils |
6 |
|
|
|
7 |
inherit autotools eutils |
7 |
|
8 |
|
8 |
DESCRIPTION="ACPI monitor for X11" |
9 |
DESCRIPTION="ACPI monitor for X11" |
9 |
HOMEPAGE="http://bbacpi.sourceforge.net" |
10 |
HOMEPAGE="http://bbacpi.sourceforge.net" |
Lines 15-21
Link Here
|
15 |
IUSE="" |
16 |
IUSE="" |
16 |
|
17 |
|
17 |
DEPEND="virtual/blackbox |
18 |
DEPEND="virtual/blackbox |
18 |
x11-libs/gtk+:2 |
19 |
x11-libs/libX11 |
19 |
media-libs/imlib |
20 |
media-libs/imlib |
20 |
x11-misc/xdialog |
21 |
x11-misc/xdialog |
21 |
sys-power/acpi |
22 |
sys-power/acpi |
Lines 23-28
Link Here
|
23 |
|
24 |
|
24 |
src_prepare() { |
25 |
src_prepare() { |
25 |
epatch "${FILESDIR}"/${P}-noextraquals.diff |
26 |
epatch "${FILESDIR}"/${P}-noextraquals.diff |
|
|
27 |
sed -i \ |
28 |
-e 's/\(XOpenDisplay,\).*/\1,/' \ |
29 |
configure.in || die |
30 |
sed -i \ |
31 |
-e 's/@CPPFLAGS@//' \ |
32 |
Makefile.am || die |
33 |
sed -i \ |
34 |
-e 's/\(fgets(buffer,\)\s*[[:digit:]]\+\(,\s*fp)\)/\1 sizeof(buffer)\2/' \ |
35 |
bbacpi.cc || die |
36 |
rm -f configure missing |
37 |
eautoreconf |
26 |
} |
38 |
} |
27 |
|
39 |
|
28 |
src_install() { |
40 |
src_install() { |