wok-6.x view cdparanoia-III/receipt @ rev 17699
Up marlin: edit last patch
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Feb 26 22:14:27 2015 -0300 (2015-02-26) |
parents | 322837ba6e0a |
children | a511baf85854 |
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 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.src.tgz"
10 WEB_SITE="http://www.xiph.org/paranoia/"
11 WGET_URL="http://downloads.xiph.org/releases/cdparanoia/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 fgrep -qs 'define u8' interface/low_interface.h ||
18 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
19 interface/low_interface.h
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make -j1
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/lib
32 cp -a $src/cdparanoia $fs/usr/bin
33 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
34 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
35 }