blob: 1a46dfff973255dfd6610bf257b5bd592e729445 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=2
inherit eutils multilib toolchain-funcs
DESCRIPTION="A general purpose library for ACPI"
HOMEPAGE="http://www.ngolde.de/libacpi.html"
SRC_URI="http://www.ngolde.de/download/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
epatch "${FILESDIR}"/${P}.patch
}
src_compile() {
tc-export AR CC RANLIB
emake || die
}
src_install() {
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install || die
prepalldocs
}
|