wok-6.x view thunar-vfs/receipt @ rev 14338
libboost-dev: fix compile-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 13 21:20:58 2013 +0200 (2013-04-13) |
parents | 9737b87cd5f1 |
children | a00bf44ed23d |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.xfce.org"
10 WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
11 TAGS="file-manager file-browser"
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 $_pkg/usr/lib/*.so* $fs/usr/lib
43 cp -a $_pkg/usr/lib/thunar-vfs-1 $fs/usr/lib
45 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
46 cp -a $_pkg/usr/share/thumbnailers $fs/usr/share
48 # Strip all
49 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
50 }