wok-next view cdparanoia-III/receipt @ rev 10497
eet: up to fix e17 build (1.0.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 25 13:58:00 2011 +0200 (2011-05-25) |
parents | 3a9b5ecc8d59 |
children | 223b265f40fd |
line source
1 # SliTaz package receipt.
3 PACKAGE="cdparanoia-III"
4 VERSION="10.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="CMDline CD ripper used by Asunder."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.src.tgz"
9 WEB_SITE="http://www.xiph.org/paranoia/"
10 WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 fgrep -qs 'define u8' interface/low_interface.h ||
17 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
18 interface/low_interface.h
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make -j1
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/lib
31 cp -a $src/cdparanoia $fs/usr/bin
32 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
33 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
34 }