wok annotate thunar/receipt @ rev 12726

thunar: we dont need so much deps, make it lighter, we may say goodbye pcmanfm (v2 is a pain actually...)
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 05 13:58:37 2012 +0200 (2012-05-05)
parents 73641efed1cc
children 6cfc359f6b14
rev   line source
erjo@4144 1 # SliTaz package receipt.
erjo@4144 2
erjo@4144 3 PACKAGE="thunar"
samuel_trassare@11874 4 VERSION="1.3.0"
erjo@4144 5 CATEGORY="x-window"
gokhlayeh@8063 6 SHORT_DESC="Thunar File Manager"
erjo@4144 7 MAINTAINER="erjo@slitaz.org"
erjo@4144 8 SOURCE="Thunar"
erjo@4144 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
erjo@4144 10 WEB_SITE="http://www.xfce.org"
slaxemulator@8289 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4973 12 TAGS="file-manager file-browser"
erjo@4144 13
pankso@12726 14 DEPENDS="libpng jpeg gtk+ libxfce4util dbus libexo pcre libexif libgudev \
pankso@12726 15 gamin libxfce4ui startup-notification util-linux-uuid"
pankso@12726 16 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxfce4util-dev dbus-dev \
pankso@12726 17 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev xcb-util-dev \
pankso@12726 18 startup-notification-dev util-linux-uuid-dev"
erjo@9922 19
erjo@4144 20 # Rules to configure and make the package.
erjo@4144 21 compile_rules()
erjo@4144 22 {
erjo@4144 23 cd $src
pankso@12726 24 ./configure \
pankso@12726 25 --prefix=/usr \
erjo@4144 26 --sysconfdir=/etc \
erjo@4144 27 --enable-dbus \
erjo@4144 28 --enable-startup-notification \
erjo@8019 29 --enable-notifications \
erjo@8019 30 --enable-gudev \
erjo@9922 31 --libexecdir=/usr/lib \
slaxemulator@10310 32 --enable-debug=no \
pankso@12726 33 $CONFIGURE_ARGS &&
erjo@9922 34 make && make DESTDIR=$DESTDIR install
erjo@4144 35 }
erjo@4144 36
erjo@4144 37 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4144 38 genpkg_rules()
erjo@4144 39 {
erjo@4144 40 mkdir -p $fs/usr \
erjo@8019 41 $fs/usr/lib/thunarx-2
erjo@4144 42
pankso@12726 43 cp -a $install/etc $fs/
pankso@12726 44 cp -a $install/usr/bin $fs/usr
pankso@12726 45
pankso@12726 46 cp -a $install/usr/lib/Thunar $fs/usr/lib
pankso@12726 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12726 48 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
pankso@12726 49
pankso@12726 50 cp -a $install/usr/share/applications $fs/usr/share
pankso@12726 51 cp -a $install/usr/share/icons $fs/usr/share
pankso@12726 52 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@12726 53 cp -a $install/usr/share/Thunar $fs/usr/share
erjo@4144 54 }
erjo@4144 55