blob: 040e9113ccb466a7e318787f3dc8ce4980181e76 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Desktop Team <desktop@gentoo.org>
# Author: Chris Houser <chouser@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/libirman-0.4.2.ebuild,v 1.1 2001/11/24 18:47:16 chouser Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Libirman is a library for Irman control of Unix software."
SRC_URI="http://www.lirc.org/software/snapshots/${P}.tar.gz"
HOMEPAGE="http://www.evation.com/libirman/libirman.html"
DEPEND="virtual/glibc"
src_compile() {
./configure --prefix=/usr --sysconfdir=/etc --host=${CHOST}
assert "configure failed"
emake || die "emake failed"
}
src_install () {
# create include dir
mkdir -p ${D}/usr/include
# standard-ish make install
make \
prefix=${D}/usr \
sysconfdir=${D}/etc \
LIRC_DRIVER_DEVICE=${D}/dev/lirc \
install
assert "make install failed"
# install the test programs
dobin test_func test_io test_name
# install extra docs
dodoc COPYING* NEWS README* TECHNICAL TODO
}
|