blob: 1ba62f6bbcf7ce55a700f6476ca8637d754167e3 (
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
48
49
50
51
52
53
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Maintainer: Mikael Hallendal <micke@hallendal.net>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/irda-utils/irda-utils-0.9.15.ebuild,v 1.8 2003/09/08 08:03:49 msterret Exp $
S=${WORKDIR}/${P}
DESCRIPTION="IrDA Utilities, tools for IrDA communication"
SRC_URI="mirror://sourceforge/irda/${P}.tar.gz"
HOMEPAGE="http://irda.sf.net"
KEYWORDS="x86 amd64 -ppc"
SLOT="0"
LICENSE="GPL-2"
DEPEND="virtual/glibc >=dev-libs/glib-1.2"
src_compile() {
make ROOT="${D}" RPM_BUILD_ROOT="${D}" || die "Making failed."
cd irsockets
make || die "Making irsockets failed."
}
src_install () {
dodir /usr/bin
dodir /usr/sbin
dodir /usr/X11R6/bin
make install PREFIX="${D}" ROOT="${D}" || die "Couldn't install from ${S}"
into /usr
dobin irsockets/irdaspray
dobin irsockets/ias_query
dobin irsockets/irprintf
dobin irsockets/irprintfx
dobin irsockets/irscanf
dobin irsockets/recv_ultra
dobin irsockets/send_ultra
# install README's into /usr/share/doc
for i in *
do
if [ -d $i -a $i != "man" ]; then
if [ -f $i/README ]; then
cp $i/README README.$i
dodoc README.$i
rm README.$i
fi
fi
done
insinto /etc/conf.d ; newins ${FILESDIR}/irda.conf irda
insinto /etc/init.d ; insopts -m0755 ; newins ${FILESDIR}/irda.rc irda
}
|