wok annotate thunar/receipt @ rev 14832

Up: thunar, thunar-dev (1.4.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:56:18 2013 +0200 (2013-07-17)
parents f322307a9560
children 380ffe05937a
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"
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
erjo@14832 14 DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \
erjo@14832 15 gamin libxfce4ui startup-notification util-linux-uuid libnotify"
erjo@14832 16 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \
erjo@14832 17 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \
erjo@14832 18 startup-notification-dev util-linux-uuid-dev libnotify-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@14832 30 --enable-gio-unix \
erjo@8019 31 --enable-gudev \
erjo@9922 32 --libexecdir=/usr/lib \
slaxemulator@10310 33 --enable-debug=no \
pankso@12726 34 $CONFIGURE_ARGS &&
erjo@14832 35 make && make install
erjo@4144 36 }
erjo@4144 37
erjo@4144 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4144 39 genpkg_rules()
erjo@4144 40 {
erjo@4144 41 mkdir -p $fs/usr \
erjo@8019 42 $fs/usr/lib/thunarx-2
erjo@4144 43
pankso@12726 44 cp -a $install/etc $fs/
pankso@12726 45 cp -a $install/usr/bin $fs/usr
pankso@12726 46
pankso@12726 47 cp -a $install/usr/lib/Thunar $fs/usr/lib
pankso@12726 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12726 49 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
pankso@12726 50
pankso@12726 51 cp -a $install/usr/share/applications $fs/usr/share
pankso@12726 52 cp -a $install/usr/share/icons $fs/usr/share
pankso@12726 53 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@12726 54 cp -a $install/usr/share/Thunar $fs/usr/share
erjo@4144 55 }
erjo@4144 56