wok view devede/receipt @ rev 24439

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 13 18:01:32 2022 +0000 (2022-02-13)
parents 223b265f40fd
children b56b38cfd475
line source
1 # SliTaz package receipt.
3 PACKAGE="devede"
4 VERSION="3.23.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A program to create VideoDVDs and CDs"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.rastersoft.com/programas/devede.html"
11 WGET_URL="http://www.rastersoft.com/descargas/$TARBALL"
13 DEPENDS="cdrkit dvdauthor mplayer mencoder pygtk ttf-dejavu vcdimager dbus-python"
14 BUILD_DEPENDS="pygtk-dev vcdimager-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://gitlab.com/rastersoft/devedeng/-/tags 2>/dev/null | \
20 sed '/-\/tags\//!d;s|.*tags/||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
28 ./install.sh --DESTDIR=$DESTDIR \
29 --prefix=/usr \
30 --unistall=no \
31 --targeted=yes
33 mkdir -p $DESTDIR/usr/share/applications
34 cp -a $PACKAGE.desktop $DESTDIR/usr/share/applications/$PACKAGE.desktop
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 cp -a $install/usr/share/applications $fs/usr/share
44 cp -a $install/usr/share/devede $fs/usr/share
45 }