wok-6.x annotate thunar-vfs/receipt @ rev 15057

codiad: use config.example.php
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 10:34:38 2013 +0000 (2013-08-13)
parents 73641efed1cc
children 5d53e8ccbc8d
rev   line source
erjo@8058 1 # SliTaz package receipt.
erjo@8058 2
erjo@8058 3 PACKAGE="thunar-vfs"
erjo@8058 4 VERSION="1.2.0"
erjo@8058 5 CATEGORY="x-window"
samuel_trassare@11876 6 SHORT_DESC="Thunar File Manager Libraries"
erjo@8058 7 MAINTAINER="erjo@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
erjo@8058 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@8058 10 WEB_SITE="http://www.xfce.org"
erjo@8058 11 WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
erjo@8058 12 TAGS="file-manager file-browser"
erjo@8058 13
erjo@10019 14 DEPENDS="libpng jpeg libxfce4util dbus startup-notification xfce4-panel \
pankso@12481 15 gamin pcre libexif util-linux-uuid-dev hal"
erjo@10019 16 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev
erjo@10019 17 startup-notification-dev xfce4-panel-dev zlib-dev intltool libexo-dev dbus-glib-dev \
pankso@12481 18 util-linux-uuid-dev hal-dev"
erjo@10019 19
erjo@8058 20 # Rules to configure and make the package.
erjo@8058 21 compile_rules()
erjo@8058 22 {
erjo@8058 23 cd $src
erjo@8058 24 ./configure --prefix=/usr \
erjo@8058 25 --sysconfdir=/etc \
erjo@8058 26 --enable-dbus \
erjo@8058 27 --enable-startup-notification \
erjo@8058 28 --disable-gnome-thumbnailers \
slaxemulator@10311 29 --enable-debug=no \
slaxemulator@10311 30 $CONFIGURE_ARGS && \
erjo@10019 31 make && make DESTDIR=$DESTDIR install
erjo@8058 32 }
erjo@8058 33
erjo@8058 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8058 35 genpkg_rules()
erjo@8058 36 {
erjo@8058 37
erjo@8058 38 mkdir -p $fs/usr \
erjo@8058 39 $fs/usr/share/locale \
erjo@8058 40 $fs/usr/lib/ \
erjo@8058 41 $fs/usr/share
erjo@8058 42
pascal@15004 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15004 44 cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib
erjo@8058 45
pascal@15004 46 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@15004 47 cp -a $install/usr/share/thumbnailers $fs/usr/share
erjo@8058 48
erjo@8058 49 # Strip all
erjo@8058 50 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
erjo@8058 51 }
erjo@8058 52