wok annotate cdparanoia-III/receipt @ rev 22038

updated tlp (1.1 -> 1.2.2)
author Hans-G?nter Theisgen
date Mon Oct 21 15:53:37 2019 +0100 (2019-10-21)
parents a511baf85854
children 68cf96abc146
rev   line source
pankso@101 1 # SliTaz package receipt.
pankso@101 2
pankso@101 3 PACKAGE="cdparanoia-III"
pankso@2014 4 VERSION="10.2"
pankso@177 5 CATEGORY="multimedia"
pankso@101 6 SHORT_DESC="CMDline CD ripper used by Asunder."
pankso@101 7 MAINTAINER="pankso@slitaz.org"
pascal@15202 8 LICENSE="GPL2 LGPL2.1"
pascal@20669 9 WEB_SITE="https://www.xiph.org/paranoia/"
pankso@101 10 TARBALL="$PACKAGE-$VERSION.src.tgz"
pascal@20669 11 WGET_URL="https://downloads.xiph.org/releases/cdparanoia/$TARBALL"
pankso@101 12
pankso@101 13 # Rules to configure and make the package.
pankso@101 14 compile_rules()
pankso@101 15 {
gokhlayeh@8132 16 fgrep -qs 'define u8' interface/low_interface.h ||
pascal@6113 17 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
pascal@6113 18 interface/low_interface.h
al@19288 19
pankso@101 20 ./configure \
pankso@101 21 --prefix=/usr \
pankso@101 22 --infodir=/usr/share/info \
slaxemulator@10287 23 --mandir=/usr/share/man \
slaxemulator@10287 24 $CONFIGURE_ARGS &&
gokhlayeh@8132 25 make -j1
al@19288 26
al@19288 27 cook_pick_manpages cdparanoia.1
al@19288 28 mkdir -p $install/usr/share/man/jp/man1
al@19288 29 cp -a cdparanoia.1.jp $install/usr/share/man/jp/man1/cdparanoia.1
pankso@101 30 }
pankso@101 31
pankso@101 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@101 33 genpkg_rules()
pankso@101 34 {
pankso@101 35 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@116 36 cp -a $src/cdparanoia $fs/usr/bin
pankso@101 37 cp -a $src/interface/libcdda_interface.so* $fs/usr/lib
pankso@101 38 cp -a $src/paranoia/libcdda_paranoia.so* $fs/usr/lib
pankso@101 39 }