wok-current annotate xfburn/receipt @ rev 21779
linld: fix strdup (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 16:53:39 2019 +0200 (2019-07-11) |
parents | 346b75128491 |
children | 17091bc7c301 |
rev | line source |
---|---|
devl547@5626 | 1 # SliTaz package receipt. |
devl547@5626 | 2 |
devl547@5626 | 3 PACKAGE="xfburn" |
devl547@18342 | 4 VERSION="0.5.4" |
devl547@5626 | 5 CATEGORY="utilities" |
devl547@5626 | 6 SHORT_DESC="GTK+ based CD and DVD burning application" |
devl547@5626 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15335 | 8 LICENSE="GPL2" |
devl547@5626 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://goodies.xfce.org/projects/applications/xfburn" |
pascal@17869 | 11 WGET_URL="http://archive.xfce.org/src/apps/xfburn/${VERSION%.*}/$TARBALL" |
erjo@9994 | 12 |
devl547@16202 | 13 DEPENDS="gtk+ libburn libexo libisofs libxfce4ui" |
devl547@16202 | 14 BUILD_DEPENDS="intltool libburn-dev libexo-dev libisofs-dev libxfce4ui-dev" |
erjo@9994 | 15 |
devl547@5626 | 16 # Rules to configure and make the package. |
devl547@5626 | 17 compile_rules() |
devl547@5626 | 18 { |
pascal@15335 | 19 sed -i 's|glib.h>|&\n#include <glib-object.h>|' xfburn/xfburn-settings.h |
devl547@5626 | 20 ./configure --prefix=/usr --sysconfdir=/etc \ |
erjo@9994 | 21 --libexecdir=/usr/bin \ |
devl547@5626 | 22 --disable-gstreamer \ |
devl547@5626 | 23 --disable-dbus \ |
devl547@11308 | 24 --disable-hal \ |
devl547@11308 | 25 --disable-thunar-vfs \ |
devl547@5626 | 26 $CONFIGURE_ARGS && |
devl547@5626 | 27 make && |
erjo@9994 | 28 make DESTDIR=$DESTDIR install |
devl547@5626 | 29 } |
devl547@5626 | 30 |
devl547@5626 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5626 | 32 genpkg_rules() |
devl547@5626 | 33 { |
devl547@5626 | 34 mkdir -p $fs/usr/share |
pascal@15335 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15335 | 36 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15335 | 37 cp -a $install/usr/share/icons $fs/usr/share |
pascal@15335 | 38 cp -a $install/usr/share/xfburn $fs/usr/share |
devl547@5626 | 39 } |