1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Library for communicating with the Creative Nomad JukeBox digital audio player"
9 HOMEPAGE="http://libnjb.sourceforge.net"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
14 KEYWORDS="amd64 ppc ppc64 x86"
15 IUSE="doc static-libs"
17 RDEPEND="virtual/libusb:0"
19 doc? ( app-doc/doxygen )"
21 PATCHES=( "${FILESDIR}"/${P}-exclude-samples.patch )
29 use doc || export ac_cv_prog_HAVE_DOXYGEN=false
32 $(use_enable static-libs static)
38 udev_newrules "${FILESDIR}"/${PN}.rules 80-${PN}.rules
40 # package provides .pc files
41 find "${D}" -name '*.la' -delete || die