# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description MP3 information tool
A small utility to read and write TAG info, as well as retrieve the MP3 \
Header info. Included is a command-line interface and a gtk-UI.
homepage http://www.ibiblio.org/mp3info/
master_sites sunsite:apps/sound/mp3-utils/${name}
checksums md5 cb7b619a10a40aaac2113b87bb2b2ea2 \
sha1 54df29eb6c2e581899affc12be698b0a71d91ca6 \
rmd160 898b566d9ba2f352949d061d991d92f2c8996ec3
livecheck.url ${homepage}
livecheck.regex "The current version of MP3Info is (\\d+(?:\\.\\d+)*\[a-z\]*) --"
patchfiles patch-mp3tech.c.diff
reinplace -E "s|(LIBS =)|\\1 ${configure.ldflags}|" ${worksrcpath}/Makefile
build.args-append CC=${configure.cc} \
destroot.target install-mp3info
destroot.args INSTALL=/usr/bin/install
destroot.destdir prefix=${destroot}${prefix} \
mandir=${destroot}${prefix}/share/man/man1
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} ChangeLog LICENSE README mp3info.txt mp3info.html \
reinplace -E "/^CFLAGS/s|\$| [join ${configure.universal_cflags} " "]|" ${worksrcpath}/Makefile