wok view cdparanoia-III/receipt @ rev 23069

scilab: update for hdf5
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 08:35:31 2020 +0100 (2020-03-10)
parents a511baf85854
children 68cf96abc146
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 WEB_SITE="https://www.xiph.org/paranoia/"
10 TARBALL="$PACKAGE-$VERSION.src.tgz"
11 WGET_URL="https://downloads.xiph.org/releases/cdparanoia/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
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
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make -j1
27 cook_pick_manpages cdparanoia.1
28 mkdir -p $install/usr/share/man/jp/man1
29 cp -a cdparanoia.1.jp $install/usr/share/man/jp/man1/cdparanoia.1
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/lib
36 cp -a $src/cdparanoia $fs/usr/bin
37 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
38 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
39 }