wok view thunar/receipt @ rev 14853
x11vnc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 18 10:50:13 2013 +0000 (2013-07-18) |
parents | f322307a9560 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar"
4 VERSION="1.4.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar File Manager"
7 MAINTAINER="erjo@slitaz.org"
8 SOURCE="Thunar"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xfce.org"
11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
12 TAGS="file-manager file-browser"
14 DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \
15 gamin libxfce4ui startup-notification util-linux-uuid libnotify"
16 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \
17 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \
18 startup-notification-dev util-linux-uuid-dev libnotify-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --enable-dbus \
28 --enable-startup-notification \
29 --enable-notifications \
30 --enable-gio-unix \
31 --enable-gudev \
32 --libexecdir=/usr/lib \
33 --enable-debug=no \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr \
42 $fs/usr/lib/thunarx-2
44 cp -a $install/etc $fs/
45 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/Thunar $fs/usr/lib
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
51 cp -a $install/usr/share/applications $fs/usr/share
52 cp -a $install/usr/share/icons $fs/usr/share
53 cp -a $install/usr/share/pixmaps $fs/usr/share
54 cp -a $install/usr/share/Thunar $fs/usr/share
55 }