wok annotate cdparanoia-III/receipt @ rev 16481

xpaint: clean up packaged files
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 23 03:43:46 2014 +0200 (2014-04-23)
parents 322837ba6e0a
children a511baf85854
rev   line source
pankso@101 1 # SliTaz package receipt.
pankso@101 2
pankso@101 3 PACKAGE="cdparanoia-III"
pankso@2014 4 VERSION="10.2"
pankso@177 5 CATEGORY="multimedia"
pankso@101 6 SHORT_DESC="CMDline CD ripper used by Asunder."
pankso@101 7 MAINTAINER="pankso@slitaz.org"
pascal@15202 8 LICENSE="GPL2 LGPL2.1"
pankso@101 9 TARBALL="$PACKAGE-$VERSION.src.tgz"
pankso@101 10 WEB_SITE="http://www.xiph.org/paranoia/"
pankso@101 11 WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL"
pankso@101 12
pankso@101 13 # Rules to configure and make the package.
pankso@101 14 compile_rules()
pankso@101 15 {
pankso@101 16 cd $src
gokhlayeh@8132 17 fgrep -qs 'define u8' interface/low_interface.h ||
pascal@6113 18 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
pascal@6113 19 interface/low_interface.h
pankso@101 20 ./configure \
pankso@101 21 --prefix=/usr \
pankso@101 22 --infodir=/usr/share/info \
slaxemulator@10287 23 --mandir=/usr/share/man \
slaxemulator@10287 24 $CONFIGURE_ARGS &&
gokhlayeh@8132 25 make -j1
pankso@101 26 }
pankso@101 27
pankso@101 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@101 29 genpkg_rules()
pankso@101 30 {
pankso@101 31 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@116 32 cp -a $src/cdparanoia $fs/usr/bin
pankso@101 33 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
pankso@101 34 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
pankso@101 35 }