gentoo-full-overlay/media-libs/libirman/libirman-0.4.5.ebuild

31 lines
827 B
Bash

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libirman/libirman-0.4.5.ebuild,v 1.2 2012/06/30 16:05:52 jlec Exp $
EAPI=4
AUTOTOOLS_AUTORECONF=yes
inherit autotools-utils eutils toolchain-funcs
DESCRIPTION="library for Irman control of Unix software"
HOMEPAGE="http://www.lirc.org/software/snapshots/"
SRC_URI="http://www.lirc.org/software/snapshots/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="static-libs"
DOCS=( TECHNICAL NEWS README TODO )
src_prepare() {
tc-export CC LD AR RANLIB
autotools-utils_src_prepare
}
src_install() {
autotools-utils_src_install LIRC_DRIVER_DEVICE="${D}/dev/lirc"
dobin ${AUTOTOOLS_BUILD_DIR}/test_{func,io,name}
}