Lines 2-27
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/lirc/lirc-0.8.7_pre1.ebuild,v 1.1 2010/05/21 02:47:00 beandog Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.7_pre1.ebuild,v 1.1 2010/05/21 02:47:00 beandog Exp $ |
4 |
|
4 |
|
5 |
inherit eutils linux-mod flag-o-matic autotools |
5 |
ECVS_SERVER="lirc.cvs.sourceforge.net:/cvsroot/lirc" |
|
|
6 |
ECVS_MODULE=lirc |
7 |
|
8 |
inherit cvs eutils linux-mod flag-o-matic autotools |
6 |
|
9 |
|
7 |
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
10 |
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls" |
8 |
HOMEPAGE="http://www.lirc.org/" |
11 |
HOMEPAGE="http://www.lirc.org/" |
9 |
|
12 |
SRC_URI="" |
10 |
MY_P=${PN}-${PV/_/} |
|
|
11 |
|
12 |
if [[ "${PV/_pre/}" = "${PV}" ]]; then |
13 |
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2" |
14 |
else |
15 |
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2" |
16 |
fi |
17 |
|
13 |
|
18 |
LICENSE="GPL-2" |
14 |
LICENSE="GPL-2" |
19 |
SLOT="0" |
15 |
SLOT="0" |
20 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
16 |
KEYWORDS="" |
21 |
IUSE="debug doc X hardware-carrier transmitter" |
17 |
IUSE="debug doc X hardware-carrier transmitter" |
22 |
|
18 |
|
23 |
S="${WORKDIR}/${MY_P}" |
|
|
24 |
|
25 |
RDEPEND=" |
19 |
RDEPEND=" |
26 |
X? ( |
20 |
X? ( |
27 |
x11-libs/libX11 |
21 |
x11-libs/libX11 |
Lines 95-100
for dev in ${IUSE_LIRC_DEVICES}; do
Link Here
|
95 |
IUSE="${IUSE} lirc_devices_${dev}" |
89 |
IUSE="${IUSE} lirc_devices_${dev}" |
96 |
done |
90 |
done |
97 |
|
91 |
|
|
|
92 |
S=${WORKDIR}/${PN} |
93 |
|
98 |
add_device() { |
94 |
add_device() { |
99 |
: ${lirc_device_count:=0} |
95 |
: ${lirc_device_count:=0} |
100 |
((lirc_device_count++)) |
96 |
((lirc_device_count++)) |
Lines 247-253
pkg_setup() {
Link Here
|
247 |
} |
243 |
} |
248 |
|
244 |
|
249 |
src_unpack() { |
245 |
src_unpack() { |
250 |
unpack ${A} |
246 |
cvs_src_unpack |
251 |
cd "${S}" |
247 |
cd "${S}" |
252 |
|
248 |
|
253 |
# Rip out dos CRLF |
249 |
# Rip out dos CRLF |
254 |
- |
|
|