Lines 2-9
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r2.ebuild,v 1.8 2010/03/05 23:26:14 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/lcd4linux-0.10.1_rc2-r2.ebuild,v 1.8 2010/03/05 23:26:14 ssuominen Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="3" |
5 |
WANT_AUTOMAKE="1.9" |
6 |
WANT_AUTOMAKE="1.9" |
6 |
inherit eutils multilib autotools |
7 |
PYTHON_DEPEND="python? 2" |
|
|
8 |
inherit eutils multilib autotools python |
7 |
|
9 |
|
8 |
MY_P=${P/_rc/-RC} |
10 |
MY_P=${P/_rc/-RC} |
9 |
|
11 |
|
Lines 36-42
Link Here
|
36 |
|
38 |
|
37 |
DEPEND=" |
39 |
DEPEND=" |
38 |
mysql? ( virtual/mysql ) |
40 |
mysql? ( virtual/mysql ) |
39 |
python? ( dev-lang/python ) |
|
|
40 |
iconv? ( virtual/libiconv ) |
41 |
iconv? ( virtual/libiconv ) |
41 |
mpd? ( media-libs/libmpd ) |
42 |
mpd? ( media-libs/libmpd ) |
42 |
|
43 |
|
Lines 66-84
Link Here
|
66 |
echo |
67 |
echo |
67 |
} |
68 |
} |
68 |
|
69 |
|
69 |
src_unpack() { |
70 |
src_prepare() { |
70 |
unpack ${A} |
|
|
71 |
cd "${S}" |
72 |
|
73 |
epatch "${FILESDIR}/${P}-warnings.patch" |
71 |
epatch "${FILESDIR}/${P}-warnings.patch" |
74 |
epatch "${FILESDIR}/${P}-mpd.patch" |
72 |
epatch "${FILESDIR}/${P}-mpd.patch" |
75 |
epatch "${FILESDIR}/${P}-nordtsc.patch" |
73 |
epatch "${FILESDIR}/${P}-nordtsc.patch" |
76 |
epatch "${FILESDIR}/${P}-autoconf-2.65.patch" |
74 |
epatch "${FILESDIR}/${P}-autoconf-2.65.patch" |
|
|
75 |
epatch "${FILESDIR}/${PN}"-header.patch || die |
77 |
|
76 |
|
78 |
eautoreconf |
77 |
eautoreconf |
79 |
} |
78 |
} |
80 |
|
79 |
|
81 |
src_compile() { |
80 |
src_configure() { |
82 |
# This array contains the driver names required by configure --with-drivers= |
81 |
# This array contains the driver names required by configure --with-drivers= |
83 |
# The positions must be the same as the corresponding use_expand flags |
82 |
# The positions must be the same as the corresponding use_expand flags |
84 |
local DEVICE_DRIVERS=(BeckmannEgle BWCT CrystalFontz Curses Cwlinux |
83 |
local DEVICE_DRIVERS=(BeckmannEgle BWCT CrystalFontz Curses Cwlinux |
Lines 153-159
Link Here
|
153 |
|| die "econf failed" |
152 |
|| die "econf failed" |
154 |
|
153 |
|
155 |
sed -i.orig -e 's/-L -lX11/ -lX11 /g' Makefile || die "sed fixup failed" |
154 |
sed -i.orig -e 's/-L -lX11/ -lX11 /g' Makefile || die "sed fixup failed" |
|
|
155 |
} |
156 |
|
156 |
|
|
|
157 |
src_compile() { |
157 |
emake || die "make failed" |
158 |
emake || die "make failed" |
158 |
} |
159 |
} |
159 |
|
160 |
|