# $Id$ PNAME="libcdio" PVER="2.1.0" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="GNU Compact Disc Input and Control Library." HOMEPAGE="http://www.gnu.org/software/libcdio/" DEPEND=">= media-libs/libcddb-1.3.2 >= sys-libs/ncurses-6.1 >= sys-libs/libstdc++-9.2" SDEPEND=">= dev-util/pkgconfig-0.25 >= sys-dev/gettext-0.18" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude multilib mbuild SRC_URI=( gnu://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # non standard gnu cmd required, there exist another tarball names libcdio-paranoia and updatecmd_gnu does not honor that UP2DATE="updatecmd http://ftp.gnu.org/gnu/${PNAME} | grep '${PNAME}-[0-9]' | highesttarball" src_compile() { mconfigure \ --disable-dependency-tracking \ --disable-vcd-info \ --enable-nls \ --enable-cddb \ --with-cd-drive \ --with-cd-info \ --with-cdda-player \ --with-cd-read \ --with-iso-info \ --with-iso-read \ --enable-cxx \ || die mmake || die }