wok-6.x annotate thunar/receipt @ rev 24869
Up zlib (1.2.12) CVE-2018-25032
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 30 20:15:06 2022 +0000 (2022-03-30) |
parents | 17091bc7c301 |
children | bd7510903310 |
rev | line source |
---|---|
erkan@22422 | 1 # SliTaz package receipt. |
erjo@4144 | 2 |
erjo@4144 | 3 PACKAGE="thunar" |
erkan@22421 | 4 VERSION="1.6.6" |
erjo@4144 | 5 CATEGORY="x-window" |
gokhlayeh@8063 | 6 SHORT_DESC="Thunar File Manager" |
erjo@4144 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@24416 | 9 SOURCE="Thunar" |
erjo@4144 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20671 | 11 WEB_SITE="https://www.xfce.org" |
slaxemulator@8289 | 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@17501 | 13 TAGS="file-manager" |
erjo@4144 | 14 |
erjo@14832 | 15 DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \ |
pascal@22424 | 16 gamin libxfce4ui startup-notification util-linux-uuid libnotify libxfconf" |
erjo@14832 | 17 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \ |
erjo@14832 | 18 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \ |
pascal@22424 | 19 startup-notification-dev util-linux-uuid-dev libnotify-dev libxfconf-dev" |
erjo@9922 | 20 |
pascal@24415 | 21 # What is the latest version available today? |
pascal@24415 | 22 current_version() |
pascal@24415 | 23 { |
pascal@24415 | 24 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 25 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24416 | 26 sed "/hunar-/!d;/tar/!d;s|.*hunar-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 27 } |
pascal@24415 | 28 |
erjo@4144 | 29 # Rules to configure and make the package. |
erjo@4144 | 30 compile_rules() |
erjo@4144 | 31 { |
pankso@12726 | 32 ./configure \ |
pankso@12726 | 33 --prefix=/usr \ |
erjo@4144 | 34 --sysconfdir=/etc \ |
erjo@4144 | 35 --enable-dbus \ |
erjo@4144 | 36 --enable-startup-notification \ |
erjo@8019 | 37 --enable-notifications \ |
erjo@14832 | 38 --enable-gio-unix \ |
erjo@8019 | 39 --enable-gudev \ |
erjo@9922 | 40 --libexecdir=/usr/lib \ |
slaxemulator@10310 | 41 --enable-debug=no \ |
pankso@12726 | 42 $CONFIGURE_ARGS && |
erjo@14832 | 43 make && make install |
erjo@4144 | 44 } |
erjo@4144 | 45 |
erjo@4144 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4144 | 47 genpkg_rules() |
erjo@4144 | 48 { |
al@17123 | 49 mkdir -p \ |
al@17123 | 50 $fs/usr/share \ |
erjo@8019 | 51 $fs/usr/lib/thunarx-2 |
erjo@4144 | 52 |
al@17123 | 53 cp -a $install/etc $fs |
pankso@12726 | 54 cp -a $install/usr/bin $fs/usr |
pankso@12726 | 55 |
pankso@12726 | 56 cp -a $install/usr/lib/Thunar $fs/usr/lib |
pankso@12726 | 57 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12726 | 58 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2 |
al@17123 | 59 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pankso@12726 | 60 |
pankso@12726 | 61 cp -a $install/usr/share/applications $fs/usr/share |
pankso@12726 | 62 cp -a $install/usr/share/icons $fs/usr/share |
pankso@12726 | 63 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@12726 | 64 cp -a $install/usr/share/Thunar $fs/usr/share |
erjo@4144 | 65 } |
erjo@4144 | 66 |