wok-current annotate gvfs/receipt @ rev 24160

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