wok-current view cdparanoia-III/receipt @ rev 25381

updated unifont (13.0.01 -> 14.0.04)
author Hans-G?nter Theisgen
date Sat Jul 30 16:49:06 2022 +0100 (2022-07-30)
parents a78610b2eb47
children
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 current_version()
14 {
15 wget -O - https://ftp.osuosl.org/pub/xiph/releases/cdparanoia/ 2>/dev/null | \
16 sed '/LATEST_IS/!d;s|.*LATEST_IS_||;s|<.*||;q'
17 }
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 fgrep -qs 'define u8' interface/low_interface.h ||
23 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
24 interface/low_interface.h
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make -j1
33 cook_pick_manpages cdparanoia.1
34 mkdir -p $install/usr/share/man/jp/man1
35 cp -a cdparanoia.1.jp $install/usr/share/man/jp/man1/cdparanoia.1
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin $fs/usr/lib
42 cp -a $src/cdparanoia $fs/usr/bin
43 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
44 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
45 }