wok annotate lsdvd/receipt @ rev 25032

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:08 2022 +0100 (2022-05-20)
parents 2fbfc7e155f8
children ad0bc3efbf37
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="lsdvd"
Hans-G?nter@23142 4 VERSION="0.17"
erjo@621 5 CATEGORY="system-tools"
erjo@621 6 SHORT_DESC="A console application that displays the content of a DVD."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15379 8 LICENSE="GPL2"
Hans-G?nter@23142 9 WEB_SITE="https://sourceforge.net/projects/lsdvd/"
Hans-G?nter@23142 10
erjo@621 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@10137 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@621 13
pascal@15379 14 DEPENDS="libdvdread"
Hans-G?nter@23142 15 BUILD_DEPENDS="automake libdvdread-dev"
pascal@15379 16
pascal@24411 17 # What is the latest version available today?
pascal@24411 18 current_version()
pascal@24411 19 {
pascal@24411 20 wget -O - https://sourceforge.net/projects/lsdvd/files/lsdvd/ 2>/dev/null | \
pascal@24411 21 sed '/scope="row/!d;/tar/!d;s|.*/lsdvd-||;s|.tar.*||;q'
pascal@24411 22 }
pascal@24411 23
erjo@621 24 # Rules to configure and make the package.
erjo@621 25 compile_rules()
erjo@621 26 {
Hans-G?nter@23142 27 # cd $src
Hans-G?nter@23142 28 # 0.17 no longer needed
Hans-G?nter@23142 29 # [ -f done.lsdvd-0.16-configure.patch ] ||
Hans-G?nter@23142 30 # patch -p1 -i $stuff/lsdvd-0.16-configure.patch
Hans-G?nter@23142 31 # touch done.lsdvd-0.16-configure.patch
Hans-G?nter@23142 32
slaxemulator@10137 33 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@23142 34 make &&
Hans-G?nter@23142 35 make install
erjo@621 36 }
erjo@621 37
erjo@621 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@621 39 genpkg_rules()
erjo@621 40 {
erjo@621 41 mkdir -p $fs/usr
Hans-G?nter@23142 42 cp -a $install/usr/bin $fs/usr
erjo@621 43 }
erjo@621 44