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