# SliTaz package receipt. PACKAGE="cdparanoia-III" VERSION="10.2" CATEGORY="multimedia" SHORT_DESC="CMDline CD ripper used by Asunder." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.src.tgz" WEB_SITE="http://www.xiph.org/paranoia/" WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src fgrep -qs 'define u8' interface/low_interface.h || sed -i 's|#include |#define u8 __u8\n&|' \ interface/low_interface.h ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make -j1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/lib cp -a $src/cdparanoia $fs/usr/bin cp -a $src/interface/libcdda_interface.so* $fs/usr/lib cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib }