wok view libcdio-paranoia/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 8ffe65490642
children 5db546345599
line source
1 # SliTaz package receipt.
3 PACKAGE="libcdio-paranoia"
4 VERSION="10.2.2.0.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Port of xiph.org's cdda paranoia to use libcdio for CDROM access."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/rocky/libcdio-paranoia"
11 TARBALL="$PACKAGE-${VERSION%.*.*.*}+${VERSION#*.*.}.tar.gz"
12 WGET_URL="$GNU_MIRROR/libcdio/$TARBALL"
14 DEPENDS="libcdio"
15 BUILD_DEPENDS="libcdio-dev libtool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|\+|.|;q'
22 }
24 compile_rules()
25 {
26 ./configure \
27 --enable-cpp-progs \
28 --disable-example-progs \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }