wok-6.x annotate thunar-vfs/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 17091bc7c301 |
children |
rev | line source |
---|---|
erjo@8058 | 1 # SliTaz package receipt. |
erjo@8058 | 2 |
erjo@8058 | 3 PACKAGE="thunar-vfs" |
erjo@8058 | 4 VERSION="1.2.0" |
erjo@8058 | 5 CATEGORY="x-window" |
samuel_trassare@11876 | 6 SHORT_DESC="Thunar File Manager Libraries" |
erjo@8058 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
erjo@8058 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.xfce.org" |
pascal@24972 | 11 WGET_URL="https://archive.xfce.org/xfce/4.8/src/$TARBALL" |
erjo@8058 | 12 |
erjo@10019 | 13 DEPENDS="libpng jpeg libxfce4util dbus startup-notification xfce4-panel \ |
pankso@12481 | 14 gamin pcre libexif util-linux-uuid-dev hal" |
erjo@10019 | 15 BUILD_DEPENDS="libpng-dev jpeg-dev libxfce4util-dev dbus-dev |
erjo@10019 | 16 startup-notification-dev xfce4-panel-dev zlib-dev intltool libexo-dev dbus-glib-dev \ |
pascal@19753 | 17 util-linux-uuid-dev hal-dev xcb-util-dev" |
erjo@10019 | 18 |
pascal@24415 | 19 # What is the latest version available today? |
pascal@24415 | 20 current_version() |
pascal@24415 | 21 { |
pascal@24415 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 24 } |
pascal@24415 | 25 |
erjo@8058 | 26 # Rules to configure and make the package. |
erjo@8058 | 27 compile_rules() |
erjo@8058 | 28 { |
erjo@8058 | 29 cd $src |
erjo@8058 | 30 ./configure --prefix=/usr \ |
erjo@8058 | 31 --sysconfdir=/etc \ |
erjo@8058 | 32 --enable-dbus \ |
erjo@8058 | 33 --enable-startup-notification \ |
erjo@8058 | 34 --disable-gnome-thumbnailers \ |
slaxemulator@10311 | 35 --enable-debug=no \ |
slaxemulator@10311 | 36 $CONFIGURE_ARGS && \ |
erjo@10019 | 37 make && make DESTDIR=$DESTDIR install |
erjo@8058 | 38 } |
erjo@8058 | 39 |
erjo@8058 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8058 | 41 genpkg_rules() |
erjo@8058 | 42 { |
erjo@8058 | 43 |
erjo@8058 | 44 mkdir -p $fs/usr \ |
erjo@8058 | 45 $fs/usr/share/locale \ |
erjo@8058 | 46 $fs/usr/lib/ \ |
erjo@8058 | 47 $fs/usr/share |
erjo@8058 | 48 |
pascal@15004 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15004 | 50 cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib |
erjo@8058 | 51 |
pascal@15004 | 52 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@15004 | 53 cp -a $install/usr/share/thumbnailers $fs/usr/share |
erjo@8058 | 54 |
erjo@8058 | 55 # Strip all |
erjo@8058 | 56 find $fs/usr/lib -exec strip -s {} 2> /dev/null \; |
erjo@8058 | 57 } |
erjo@8058 | 58 |