# $Id$ PNAME="id3lib" PVER="3.8.3" PBUILD="r9" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="id3lib is a library for reading, writing, and manipulating ID3v1 and ID3v2 tags." HOMEPAGE="http://id3lib.sourceforge.net/" DEPEND=">= sys-libs/zlib-1.2.3" SDEPEND=">= sys-dev/automake-4 >= sys-dev/autoconf-5" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-zlib.patch mirror://${PNAME}/${PNAME}-${PVER}-test_io.patch mirror://${PNAME}/${PNAME}-${PVER}-unicode16.patch mirror://${PNAME}/${PNAME}-${PVER}-ac-warnings.patch ) UP2DATE="updatecmd_sourceforge ${PNAME}" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixes linking issues mpatch ${PNAME}-${PVER}-zlib.patch || die # fixes 'make check' mpatch ${PNAME}-${PVER}-test_io.patch || die # fixes unicode writing mpatch ${PNAME}-${PVER}-unicode16.patch || die # fixes some autoconf warnings mpatch ${PNAME}-${PVER}-ac-warnings.patch || die autoreconf --verbose --install --force || die }