wok annotate cdparanoia-III/receipt @ rev 8991

dahdi-linux: kernel 2.6.37 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 11:26:54 2011 +0100 (2011-03-03)
parents 964f5d384827
children 322837ba6e0a
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"
pankso@101 8 TARBALL="$PACKAGE-$VERSION.src.tgz"
pankso@101 9 WEB_SITE="http://www.xiph.org/paranoia/"
pankso@101 10 WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL"
pankso@101 11
pankso@101 12 # Rules to configure and make the package.
pankso@101 13 compile_rules()
pankso@101 14 {
pankso@101 15 cd $src
gokhlayeh@8132 16 fgrep -qs 'define u8' interface/low_interface.h ||
pascal@6113 17 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
pascal@6113 18 interface/low_interface.h
pankso@101 19 ./configure \
pankso@101 20 --prefix=/usr \
pankso@101 21 --infodir=/usr/share/info \
pankso@2014 22 --mandir=/usr/share/man &&
gokhlayeh@8132 23 make -j1
pankso@101 24 }
pankso@101 25
pankso@101 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@101 27 genpkg_rules()
pankso@101 28 {
pankso@101 29 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@116 30 cp -a $src/cdparanoia $fs/usr/bin
pankso@101 31 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
pankso@101 32 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
pankso@101 33 }