wok view libcdio-paranoia/receipt @ rev 25001
updated nnn (4.0 -> 4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:07:26 2022 +0100 (2022-05-16) |
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 }