Lines 1-6
Link Here
|
1 |
# Copyright 1999-2004 Gentoo Foundation |
1 |
# Copyright 1999-2004 Gentoo Foundation |
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/sys-apps/irda-utils/irda-utils-0.9.15.ebuild,v 1.14 2004/09/03 21:03:23 pvdabeel Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
DESCRIPTION="IrDA Utilities, tools for IrDA communication" |
5 |
DESCRIPTION="IrDA Utilities, tools for IrDA communication" |
6 |
HOMEPAGE="http://irda.sourceforge.net/" |
6 |
HOMEPAGE="http://irda.sourceforge.net/" |
Lines 8-37
Link Here
|
8 |
|
8 |
|
9 |
LICENSE="GPL-2" |
9 |
LICENSE="GPL-2" |
10 |
SLOT="0" |
10 |
SLOT="0" |
11 |
KEYWORDS="x86 ppc amd64" |
11 |
KEYWORDS="~x86 ~ppc ~amd64" |
12 |
IUSE="" |
12 |
IUSE="gtk" |
13 |
|
13 |
|
14 |
DEPEND="virtual/libc |
14 |
DEPEND="virtual/libc |
15 |
>=dev-libs/glib-1.2" |
15 |
=dev-libs/glib-1.2* |
16 |
|
16 |
gtk? ( =x11-libs/gtk+-1.2* )" |
17 |
src_unpack() { |
|
|
18 |
unpack ${A} |
19 |
cd ${S} |
20 |
export WANT_AUTOCONF=2.5 |
21 |
} |
22 |
|
17 |
|
23 |
src_compile() { |
18 |
src_compile() { |
24 |
make ROOT="${D}" RPM_BUILD_ROOT="${D}" || die "Making failed." |
19 |
export WANT_AUTOMAKE=1.4 |
25 |
cd irsockets |
20 |
|
26 |
make || die "Making irsockets failed." |
21 |
emake ROOT="${D}" RPM_BUILD_ROOT="${D}" || die "Making failed." |
|
|
22 |
|
23 |
cd ${S}/irsockets |
24 |
emake || die "Making irsockets failed." |
25 |
|
26 |
if use gtk; then |
27 |
cd ${S}/findchip |
28 |
emake gfindchip || die "Making gfindchip failed." |
29 |
fi |
27 |
} |
30 |
} |
28 |
|
31 |
|
29 |
src_install () { |
32 |
src_install () { |
30 |
dodir /usr/bin |
33 |
dodir /usr/bin |
31 |
dodir /usr/sbin |
34 |
dodir /usr/sbin |
32 |
dodir /usr/X11R6/bin |
|
|
33 |
|
35 |
|
34 |
make install PREFIX="${D}" ROOT="${D}" || die "Couldn't install from ${S}" |
36 |
emake install PREFIX="${D}" ROOT="${D}" || die "Couldn't install from ${S}" |
35 |
|
37 |
|
36 |
# irda-utils's install-etc installs files in /etc/sysconfig if |
38 |
# irda-utils's install-etc installs files in /etc/sysconfig if |
37 |
# that directory exists on the system, so clean up just in case. |
39 |
# that directory exists on the system, so clean up just in case. |
Lines 47-52
Link Here
|
47 |
dobin irsockets/recv_ultra |
49 |
dobin irsockets/recv_ultra |
48 |
dobin irsockets/send_ultra |
50 |
dobin irsockets/send_ultra |
49 |
|
51 |
|
|
|
52 |
if use gtk; then |
53 |
dosbin findchip/gfindchip |
54 |
fi |
55 |
|
50 |
# install README's into /usr/share/doc |
56 |
# install README's into /usr/share/doc |
51 |
for i in * |
57 |
for i in * |
52 |
do |
58 |
do |