wok view thunar/receipt @ rev 25769
libmaxminddb, ndpi: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 09:45:40 2024 +0000 (3 months ago) |
parents | bd7510903310 |
children | fceea4b4808a |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar"
4 VERSION="1.6.6"
5 CATEGORY="x-window"
6 TAGS="file-manager"
7 SHORT_DESC="Thunar File Manager."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://docs.xfce.org/xfce/thunar/start"
12 SOURCE="Thunar"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
16 DEPENDS="dbus-glib gamin gtk+ jpeg libexif libexo libgudev libnotify libpng
17 libxfce4ui libxfce4util pcre startup-notification util-linux-uuid xfconf"
18 BUILD_DEPENDS="dbus-glib-dev jpeg-dev gtk+-dev intltool libexo-dev libgudev-dev
19 libnotify-dev libpng-dev libxfce4ui-dev libxfce4util-dev libxml2-dev
20 startup-notification-dev util-linux-uuid-dev xcb-util-dev
21 xfconf-dev zlib-dev"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - $WEB_SITE 2>/dev/null |
27 sed '/released/!d;s| released.*||;s|.*thunar ||'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --enable-dbus \
37 --enable-startup-notification \
38 --enable-notifications \
39 --enable-gio-unix \
40 --enable-gudev \
41 --libexecdir=/usr/lib \
42 --enable-debug=no \
43 $CONFIGURE_ARGS &&
44 make &&
45 make install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 cook_copy_folders etc
52 cook_copy_folders bin
54 cook_copy_files *.so*
55 cp -a $install/usr/lib/Thunar $fs/usr/lib
56 cook_copy_folders dbus-1
58 cook_copy_folders icons
59 cp -a $install/usr/share/Thunar $fs/usr/share
60 cook_copy_folders pixmaps
61 }