wok view xfburn/receipt @ rev 21709
ccid: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 08 10:39:23 2019 +0200 (2019-06-08) |
parents | 346b75128491 |
children | 17091bc7c301 |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|glib.h>|&\n#include <glib-object.h>|' xfburn/xfburn-settings.h
20 ./configure --prefix=/usr --sysconfdir=/etc \
21 --libexecdir=/usr/bin \
22 --disable-gstreamer \
23 --disable-dbus \
24 --disable-hal \
25 --disable-thunar-vfs \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/applications $fs/usr/share
37 cp -a $install/usr/share/icons $fs/usr/share
38 cp -a $install/usr/share/xfburn $fs/usr/share
39 }