wok-6.x view thunar/receipt @ rev 12820
glibc-base: improve receipt for ARM and cross-compilation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 21 23:48:44 2012 +0200 (2012-05-21) |
parents | 73641efed1cc |
children | 6cfc359f6b14 |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar"
4 VERSION="1.3.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 libexo pcre libexif libgudev \
15 gamin libxfce4ui startup-notification util-linux-uuid"
16 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxfce4util-dev dbus-dev \
17 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev xcb-util-dev \
18 startup-notification-dev util-linux-uuid-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-gudev \
31 --libexecdir=/usr/lib \
32 --enable-debug=no \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr \
41 $fs/usr/lib/thunarx-2
43 cp -a $install/etc $fs/
44 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/Thunar $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
50 cp -a $install/usr/share/applications $fs/usr/share
51 cp -a $install/usr/share/icons $fs/usr/share
52 cp -a $install/usr/share/pixmaps $fs/usr/share
53 cp -a $install/usr/share/Thunar $fs/usr/share
54 }