27 lines
756 B
Bash
27 lines
756 B
Bash
# Template file for 'mp3info'
|
|
pkgname=mp3info
|
|
version=0.8.5a
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gtk+-devel ncurses-devel"
|
|
short_desc="utility used to read and modify the ID3 tags of MP3 files"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://ibiblio.org/mp3info/"
|
|
distfiles="http://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/$pkgname/mp3info-${version}.tgz"
|
|
checksum=0438ac68e9f04947fb14ca5573d27c62454cb9db3a93b7f1d2c226cd3e0b4e10
|
|
|
|
pre_configure() {
|
|
sed -i 's%uint\*%unsigned int*%g' mp3tech.c
|
|
}
|
|
pre_install() {
|
|
sed -i '/STRIP/d' Makefile
|
|
}
|
|
do_install() {
|
|
vmkdir usr/bin
|
|
vmkdir usr/share/man/man1
|
|
|
|
make prefix=${DESTDIR}/usr mandir=${DESTDIR}/usr/share/man/man1 install
|
|
}
|