APP=libcdio-paranoia
VERSION=10.2
LVERSION="+2.0.1"
BUILD=1sml
HOMEPAGE='https://www.gnu.org/software/libcdio/'
DESC="supporting library to libcdio for CD-ROM access"
REQUIRES="libcdio"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION$LVERSION

  tar xf $SRCDIR/$APP-$VERSION$LVERSION.tar.?z*
  cd $APP-$VERSION$LVERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-cpp-progs \
    --disable-static \
    --disable-example-progs

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
e2ab71d2112c481b3edd7adacc3e35c38b857b04bb0b36776f9c9b54d4aaccf9cacb07307ec3644c7ab70a88e3fc101a846b549b3d8a5ac52561348bfa6aded7  libcdio-paranoia-10.2+2.0.1.tar.lz
"
