wok view thunar-vfs/receipt @ rev 17504
le: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 08 11:25:22 2015 +0100 (2015-01-08) |
parents | a00bf44ed23d |
children | 71869f82ce0a |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar-vfs"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar File Manager Libraries"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xfce.org"
11 WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
13 DEPENDS="libpng jpeg libxfce4util dbus startup-notification xfce4-panel \
14 gamin pcre libexif util-linux-uuid-dev hal"
15 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev
16 startup-notification-dev xfce4-panel-dev zlib-dev intltool libexo-dev dbus-glib-dev \
17 util-linux-uuid-dev hal-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr \
24 --sysconfdir=/etc \
25 --enable-dbus \
26 --enable-startup-notification \
27 --disable-gnome-thumbnailers \
28 --enable-debug=no \
29 $CONFIGURE_ARGS && \
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
37 mkdir -p $fs/usr \
38 $fs/usr/share/locale \
39 $fs/usr/lib/ \
40 $fs/usr/share
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib
45 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
46 cp -a $install/usr/share/thumbnailers $fs/usr/share
48 # Strip all
49 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
50 }