makedepends=(lame libvorbis libmad libao)

packager="Great-OS Team"
maintainer="Great-OS Team"

description="Records audio/data CD-Rs in disk-at-once (DAO) mode"
url="http://cdrdao.sourceforge.net/"

name=cdrdao
version=1.2.6

source=(https://downloads.sourceforge.net/cdrdao/cdrdao-$version.tar.bz2)

build() {
  cd ${name}-${version}
  ./configure --prefix=/usr \
    --mandir=/usr/share/man \
    --sysconfdir=/etc \
    --without-xdao \
    --with-lame \
    --with-ogg-support \
    --with-mp3-support
  make
}

package() {
  cd ${name}-${version}
  make DESTDIR="${PKG}" install
}
