wok-6.x annotate cdparanoia-III/receipt @ rev 25414

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