You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-libs/libacpi/libacpi-0.2.ebuild

30 lines
570 B

# 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
}