wok-current annotate xfburn/receipt @ rev 16340
ARM: fix scratch cross compilation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:40:51 2014 +0200 (2014-04-12) |
parents | 107ceec178fa |
children | d3eb5f4b53ea |
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" |
devl547@16202 | 11 WGET_URL="http://archive.xfce.org/src/apps/xfburn/0.5/$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 { |
devl547@5626 | 19 cd $src |
pascal@15335 | 20 sed -i 's|glib.h>|&\n#include <glib-object.h>|' xfburn/xfburn-settings.h |
devl547@5626 | 21 ./configure --prefix=/usr --sysconfdir=/etc \ |
erjo@9994 | 22 --libexecdir=/usr/bin \ |
devl547@5626 | 23 --disable-gstreamer \ |
devl547@5626 | 24 --disable-dbus \ |
devl547@11308 | 25 --disable-hal \ |
devl547@11308 | 26 --disable-thunar-vfs \ |
devl547@5626 | 27 $CONFIGURE_ARGS && |
devl547@5626 | 28 make && |
erjo@9994 | 29 make DESTDIR=$DESTDIR install |
devl547@5626 | 30 } |
devl547@5626 | 31 |
devl547@5626 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5626 | 33 genpkg_rules() |
devl547@5626 | 34 { |
devl547@5626 | 35 mkdir -p $fs/usr/share |
pascal@15335 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15335 | 37 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15335 | 38 cp -a $install/usr/share/icons $fs/usr/share |
pascal@15335 | 39 cp -a $install/usr/share/xfburn $fs/usr/share |
devl547@5626 | 40 } |