29 lines
861 B
Bash
29 lines
861 B
Bash
# Template file for 'mp3info'
|
|
pkgname=mp3info
|
|
version=0.8.5a
|
|
revision=3
|
|
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="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-${version}.tgz"
|
|
checksum=0438ac68e9f04947fb14ca5573d27c62454cb9db3a93b7f1d2c226cd3e0b4e10
|
|
|
|
pre_configure() {
|
|
sed -i 's%uint\*%unsigned int*%g' mp3tech.c
|
|
sed -i Makefile \
|
|
-e 's%$(CC) $(CFLAGS)%& $(LDFLAGS)%' \
|
|
-e 's%$(CC) $(XSRC) $(CFLAGS)%& $(LDFLAGS)%'
|
|
}
|
|
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
|
|
}
|