wok annotate thunar/receipt @ rev 8063

Various modifications to xfce4/thunar packages
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Jan 21 00:44:33 2011 +0100 (2011-01-21)
parents 0874004b631d
children 1414fab16d56
rev   line source
erjo@4144 1 # SliTaz package receipt.
erjo@4144 2
erjo@4144 3 PACKAGE="thunar"
erjo@8019 4 VERSION="1.2.0"
erjo@4144 5 CATEGORY="x-window"
gokhlayeh@8063 6 SHORT_DESC="Thunar File Manager"
erjo@4144 7 MAINTAINER="erjo@slitaz.org"
gokhlayeh@8063 8 DEPENDS="libpng jpeg libxfce4util dbus libexo xfce4-panel \
gokhlayeh@8063 9 pcre libexif libgudev"
erjo@4144 10 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev
gokhlayeh@8063 11 libexo-dev xfce4-panel-dev zlib-dev intltool libgudev-dev"
erjo@4144 12 SOURCE="Thunar"
erjo@4144 13 TARBALL="$SOURCE-$VERSION.tar.bz2"
erjo@4144 14 WEB_SITE="http://www.xfce.org"
erjo@8019 15 WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
jozee@4973 16 TAGS="file-manager file-browser"
erjo@4144 17
erjo@4144 18 # Rules to configure and make the package.
erjo@4144 19 compile_rules()
erjo@4144 20 {
erjo@4144 21 cd $src
erjo@4144 22 ./configure --prefix=/usr \
erjo@4144 23 --sysconfdir=/etc \
erjo@4144 24 --enable-dbus \
erjo@4144 25 --enable-startup-notification \
erjo@8019 26 --enable-notifications \
erjo@8019 27 --enable-gudev \
pascal@4218 28 --libexecdir=/usr/lib/$PACKAGE \
erjo@4144 29 --enable-debug=no && \
erjo@4144 30 make && make DESTDIR=$PWD/_pkg install
erjo@4144 31 }
erjo@4144 32
erjo@4144 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4144 34 genpkg_rules()
erjo@4144 35 {
erjo@4144 36
erjo@4144 37 mkdir -p $fs/usr \
erjo@4144 38 $fs/usr/share/locale \
erjo@8019 39 $fs/usr/lib/thunarx-2
erjo@4144 40
erjo@4144 41 cp -a $_pkg/etc $fs/
erjo@4144 42 cp -a $_pkg/usr/bin $fs/usr
erjo@8019 43
erjo@8019 44 cp -a $_pkg/usr/lib/Thunar $fs/usr/lib
erjo@8019 45 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@8019 46 cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib
erjo@8019 47 cp -a $_pkg/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
erjo@8019 48
erjo@8019 49
erjo@4144 50 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4144 51 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@4144 52 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
erjo@4144 53 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@4144 54 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4144 55 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@4144 56 cp -a $_pkg/usr/share/Thunar $fs/usr/share
erjo@4144 57 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
erjo@4874 58
erjo@4874 59 # Strip all
erjo@8019 60 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
erjo@4144 61 }
erjo@4144 62