wok view gvfs/receipt @ rev 25007

updated nut (2.7.4 -> 2.8.0)
author Hans-G?nter Theisgen
date Mon May 16 16:55:37 2022 +0100 (2022-05-16)
parents 5d79829fa876
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gvfs"
4 VERSION="1.22.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userspace virtual filesystem designed to work with gio"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 SUGGESTED="gvfs-afp gvfs-archive gvfs-cdda gvfs-fuse gvfs-gphoto2 gvfs-http \
13 gvfs-libmtp gvfs-obexftp gvfs-smb gvfs-udisks2"
15 DEPENDS="dbus glib glibc-base libffi libgio pcre udev zlib"
16 BUILD_DEPENDS="dbus-dev glib-dev udev-dev libgudev-dev fuse2-dev \
17 udisks2-dev samba-dev smbclient expat-dev libarchive-dev libgcrypt-dev \
18 libsoup-dev libxml2-dev libcdio-dev dbus-glib-dev bluez-dev expat-dev \
19 libgphoto2-dev libmtp-dev gtk+3-dev glibc-dev sqlite-dev \
20 libcdio-paranoia-dev libtool"
22 current_version()
23 {
24 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
25 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
26 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 patch -p0 -i $stuff/allow-dropbear-ssh.patch
34 ./configure \
35 --prefix=/usr \
36 --libexecdir=/usr/lib/$PACKAGE \
37 --sysconfdir=/etc \
38 --disable-documentation \
39 --disable-bash-completion \
40 $CONFIGURE_ARGS && \
41 make && make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 . $stuff/split
48 }
50 post_remove()
51 {
52 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
53 }