# $Id: taglib-1.6-r2.smage2 4606 2009-12-25 20:43:25Z niro $ PNAME="taglib" PVER="1.6.3" PBUILD="r1" PCATEGORIE="media-libs" STATE="unstable" DESCRIPTION="TagLib is a library for reading and editing the meta-data of several popular audio formats." HOMEPAGE="http://developer.kde.org/~wheeler/taglib.html" DEPEND="" SRCFILE="${PNAME}-${PVER/_/}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" sminclude cmake SRC_URI=( http://developer.kde.org/~wheeler/files/src/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd 'http://developer.kde.org/~wheeler/files/src/?C=M;O=A' | grep ${PNAME}- | lasttarball gz" # taglib doesn't like strong CFLAGS export CFLAGS="${CFLAGS//-O3} -O2" export CXXFLAGS="${CFLAGS}" src_compile() { install -d ${BUILDDIR}/build || die cd ${BUILDDIR}/build cmake_configure $(cmake_with MP4) $(cmake_with ASF) || die mmake || die }