wok-current view devede/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents bfabe25c21ff
children
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.gz"
10 WEB_SITE="http://www.rastersoft.com/programas/devede.html"
11 WGET_URL="https://github.com/rastersoft/Devede/archive/refs/tags/v$VERSION.tar.gz"
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 ./install.sh --DESTDIR=$DESTDIR \
27 --prefix=/usr \
28 --unistall=no \
29 --targeted=yes
31 mkdir -p $DESTDIR/usr/share/applications
32 cp -a $PACKAGE.desktop $DESTDIR/usr/share/applications/$PACKAGE.desktop
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/lib $fs/usr
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/devede $fs/usr/share
43 }