blob: 9b79b32820c5b405773b45d06539e5fb72ea20fc [file] [log] [blame]
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils multilib toolchain-funcs
DESCRIPTION="Utilities for PowerTab Guitar files (.ptb)"
HOMEPAGE="http://www.samba.org/~jelmer/ptabtools/"
SRC_URI="http://www.samba.org/~jelmer/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND="dev-libs/popt
dev-libs/libxml2
dev-libs/libxslt"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
}
src_compile() {
emake AR=$(tc-getAR)
}
src_install() {
emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" install
dodoc AUTHORS NEWS README ROADMAP TODO
}