wok view thunar/receipt @ rev 15000

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 17:00:38 2013 +0000 (2013-08-10)
parents 6cfc359f6b14
children 77c872ed3f55
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 LICENSE="GPL2"
9 SOURCE="Thunar"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 TAGS="file-manager file-browser"
15 DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \
16 gamin libxfce4ui startup-notification util-linux-uuid libnotify"
17 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \
18 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \
19 startup-notification-dev util-linux-uuid-dev libnotify-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --enable-dbus \
29 --enable-startup-notification \
30 --enable-notifications \
31 --enable-gio-unix \
32 --enable-gudev \
33 --libexecdir=/usr/lib \
34 --enable-debug=no \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr \
43 $fs/usr/lib/thunarx-2
45 cp -a $install/etc $fs/
46 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/Thunar $fs/usr/lib
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
52 cp -a $install/usr/share/applications $fs/usr/share
53 cp -a $install/usr/share/icons $fs/usr/share
54 cp -a $install/usr/share/pixmaps $fs/usr/share
55 cp -a $install/usr/share/Thunar $fs/usr/share
56 }