wok-6.x annotate thunar/receipt @ rev 16765

pcmanfm: fix icon and DBUS exit (Thanks az_ua)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 18 18:47:55 2014 +0200 (2014-06-18)
parents 6cfc359f6b14
children 77c872ed3f55
rev   line source
erjo@4144 1 # SliTaz package receipt.
erjo@4144 2
erjo@4144 3 PACKAGE="thunar"
erjo@14832 4 VERSION="1.4.0"
erjo@4144 5 CATEGORY="x-window"
gokhlayeh@8063 6 SHORT_DESC="Thunar File Manager"
erjo@4144 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@4144 9 SOURCE="Thunar"
erjo@4144 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
erjo@4144 11 WEB_SITE="http://www.xfce.org"
slaxemulator@8289 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4973 13 TAGS="file-manager file-browser"
erjo@4144 14
erjo@14832 15 DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \
erjo@14832 16 gamin libxfce4ui startup-notification util-linux-uuid libnotify"
erjo@14832 17 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \
erjo@14832 18 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \
erjo@14832 19 startup-notification-dev util-linux-uuid-dev libnotify-dev"
erjo@9922 20
erjo@4144 21 # Rules to configure and make the package.
erjo@4144 22 compile_rules()
erjo@4144 23 {
erjo@4144 24 cd $src
pankso@12726 25 ./configure \
pankso@12726 26 --prefix=/usr \
erjo@4144 27 --sysconfdir=/etc \
erjo@4144 28 --enable-dbus \
erjo@4144 29 --enable-startup-notification \
erjo@8019 30 --enable-notifications \
erjo@14832 31 --enable-gio-unix \
erjo@8019 32 --enable-gudev \
erjo@9922 33 --libexecdir=/usr/lib \
slaxemulator@10310 34 --enable-debug=no \
pankso@12726 35 $CONFIGURE_ARGS &&
erjo@14832 36 make && make install
erjo@4144 37 }
erjo@4144 38
erjo@4144 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4144 40 genpkg_rules()
erjo@4144 41 {
erjo@4144 42 mkdir -p $fs/usr \
erjo@8019 43 $fs/usr/lib/thunarx-2
erjo@4144 44
pankso@12726 45 cp -a $install/etc $fs/
pankso@12726 46 cp -a $install/usr/bin $fs/usr
pankso@12726 47
pankso@12726 48 cp -a $install/usr/lib/Thunar $fs/usr/lib
pankso@12726 49 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12726 50 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
pankso@12726 51
pankso@12726 52 cp -a $install/usr/share/applications $fs/usr/share
pankso@12726 53 cp -a $install/usr/share/icons $fs/usr/share
pankso@12726 54 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@12726 55 cp -a $install/usr/share/Thunar $fs/usr/share
erjo@4144 56 }
erjo@4144 57