wok-next view cdparanoia-III/receipt @ rev 19682

Up at-spi2-atk, at-spi2-core, atk, atkmm, glibmm, gobject-introspection, libgiomm, libsigc++
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Apr 10 00:21:34 2017 +0300 (2017-04-10)
parents 223b265f40fd
children b2efa70e9283
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="http://www.xiph.org/paranoia/"
10 TARBALL="$PACKAGE-$VERSION.src.tgz"
11 WGET_URL="http://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 }