wok view thunar-vfs/receipt @ rev 24938
mypaint-brushes: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 09:10:40 2022 +0000 (2022-04-14) |
parents | 6e8b1bcb30e2 |
children | bd7510903310 |
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 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org"
11 WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL"
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 xcb-util-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 ./configure --prefix=/usr \
31 --sysconfdir=/etc \
32 --enable-dbus \
33 --enable-startup-notification \
34 --disable-gnome-thumbnailers \
35 --enable-debug=no \
36 $CONFIGURE_ARGS && \
37 make && make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
44 mkdir -p $fs/usr \
45 $fs/usr/share/locale \
46 $fs/usr/lib/ \
47 $fs/usr/share
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib
52 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
53 cp -a $install/usr/share/thumbnailers $fs/usr/share
55 # Strip all
56 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
57 }