1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="Utilities for PowerTab Guitar files (.ptb)"
9 HOMEPAGE="https://www.samba.org/~jelmer/ptabtools/"
10 SRC_URI="https://www.samba.org/~jelmer/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~ppc x86"
22 BDEPEND="virtual/pkgconfig"
24 PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
31 emake DESTDIR="${D}" libdir="/usr/$(get_libdir)" install
34 # QA Notice: Missing soname symlink(s):
35 # usr/lib64/libptb.so.0 -> libptb.so.0.5.0
36 dosym libptb.so.0.5.0 /usr/$(get_libdir)/libptb.so.0
38 # Don't want static archives
39 find "${D}" -name '*.a' -delete || die