wok-6.x annotate xfburn/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | 4bcc8d00f1b4 |
children | 346b75128491 |
rev | line source |
---|---|
devl547@5626 | 1 # SliTaz package receipt. |
devl547@5626 | 2 |
devl547@5626 | 3 PACKAGE="xfburn" |
devl547@16202 | 4 VERSION="0.5.0" |
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" |
devl547@5626 | 10 WEB_SITE="http://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 } |