wok-6.x view dvdauthor/receipt @ rev 24535
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 23 11:49:52 2022 +0000 (2022-02-23) |
parents | b3295b68d65e |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dvdauthor"
4 VERSION="0.7.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="A simple set of tools to help you author a DVD."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://dvdauthor.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libpng tiff jpeg libxml2 fribidi libdvdread"
15 BUILD_DEPENDS="libpng-dev tiff-dev jpeg-dev libxml2-dev libdvdread-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/dvdauthor/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/dvdauthor-/!d;s|.*/dvdauthor-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 }