# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=vcdimager
pkgver=0.7.24
pkgrel=0
pkgdesc="Mastering suite for authoring disassembling and analyzing Video CD's and Super Video CD's"
url="http://www.vcdimager.org"
arch="all"
license="GPL"
options="!check"
makedepends="libxml2-dev libcdio-dev popt-dev"
subpackages="$pkgname-dev $pkgname-doc"
source=""ftp://ftp.gnu.org/gnu/vcdimager/${pkgname}-${pkgver}.tar.gz
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare
	update_config_guess
	update_config_sub
}

build() {
	cd "$builddir"
	./configure --prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="162f361d3c871c85887f0b25e70c207c511dcf597f337633be3ce925e8c589a8ba26275b8378d1002b8c5eb56995eda017f5f1cf52e52a38e9ff900acba7a214  vcdimager-0.7.24.tar.gz"
