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