wok-current view xfburn/receipt @ rev 24617

updated libgphoto2 and libgphoto2-dev (2.5.24 -> 2.5.29)
author Hans-G?nter Theisgen
date Mon Mar 07 09:33:31 2022 +0100 (2022-03-07)
parents 6e8b1bcb30e2
children 970deba23db6
line source
1 # SliTaz package receipt.
3 PACKAGE="xfburn"
4 VERSION="0.5.4"
5 CATEGORY="utilities"
6 SHORT_DESC="GTK+ based CD and DVD burning application"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://goodies.xfce.org/projects/applications/xfburn"
11 WGET_URL="http://archive.xfce.org/src/apps/xfburn/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libburn libexo libisofs libxfce4ui"
14 BUILD_DEPENDS="intltool libburn-dev libexo-dev libisofs-dev libxfce4ui-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
20 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|glib.h>|&\n#include <glib-object.h>|' xfburn/xfburn-settings.h
28 ./configure --prefix=/usr --sysconfdir=/etc \
29 --libexecdir=/usr/bin \
30 --disable-gstreamer \
31 --disable-dbus \
32 --disable-hal \
33 --disable-thunar-vfs \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/applications $fs/usr/share
45 cp -a $install/usr/share/icons $fs/usr/share
46 cp -a $install/usr/share/xfburn $fs/usr/share
47 }