wok annotate devede/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (6 days ago)
parents b56b38cfd475
children
rev   line source
slaxemulator@6508 1 # SliTaz package receipt.
slaxemulator@6508 2
slaxemulator@6508 3 PACKAGE="devede"
pascal@13578 4 VERSION="3.23.0"
slaxemulator@6508 5 CATEGORY="multimedia"
slaxemulator@6508 6 SHORT_DESC="A program to create VideoDVDs and CDs"
slaxemulator@6508 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15202 8 LICENSE="GPL3"
pascal@25094 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25632 10 WEB_SITE="https://www.rastersoft.com/programas/devede.html"
pascal@25094 11 WGET_URL="https://github.com/rastersoft/Devede/archive/refs/tags/v$VERSION.tar.gz"
slaxemulator@6508 12
pascal@15202 13 DEPENDS="cdrkit dvdauthor mplayer mencoder pygtk ttf-dejavu vcdimager dbus-python"
pascal@15202 14 BUILD_DEPENDS="pygtk-dev vcdimager-dev"
pascal@15202 15
pascal@24439 16 # What is the latest version available today?
pascal@24439 17 current_version()
pascal@24439 18 {
pascal@24439 19 wget -O - https://gitlab.com/rastersoft/devedeng/-/tags 2>/dev/null | \
pascal@24439 20 sed '/-\/tags\//!d;s|.*tags/||;s|".*||;q'
pascal@24439 21 }
pascal@24439 22
slaxemulator@6508 23 # Rules to configure and make the package.
slaxemulator@6508 24 compile_rules()
slaxemulator@6508 25 {
slaxemulator@11094 26 ./install.sh --DESTDIR=$DESTDIR \
slaxemulator@6508 27 --prefix=/usr \
slaxemulator@6508 28 --unistall=no \
slaxemulator@6508 29 --targeted=yes
slaxemulator@6508 30
slaxemulator@11094 31 mkdir -p $DESTDIR/usr/share/applications
slaxemulator@11094 32 cp -a $PACKAGE.desktop $DESTDIR/usr/share/applications/$PACKAGE.desktop
slaxemulator@6508 33 }
slaxemulator@6508 34
slaxemulator@6508 35 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6508 36 genpkg_rules()
slaxemulator@6508 37 {
slaxemulator@6508 38 mkdir -p $fs/usr/share
pascal@13578 39 cp -a $install/usr/bin $fs/usr
pascal@13578 40 cp -a $install/usr/lib $fs/usr
pascal@13578 41 cp -a $install/usr/share/applications $fs/usr/share
pascal@13578 42 cp -a $install/usr/share/devede $fs/usr/share
slaxemulator@6508 43 }
slaxemulator@6508 44