wok-6.x annotate gvfs/receipt @ rev 17393
opus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 16:05:28 2014 +0100 (2014-11-27) |
parents | 96fd065ed4ea |
children | 124c3a7da04f |
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@11222 | 10 WEB_SITE="http://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 \ |
al@17280 | 19 libgphoto2-dev libmtp-dev gtk+3-dev glibc-dev sqlite-dev libtool" |
pascal@11222 | 20 |
pascal@11222 | 21 # Rules to configure and make the package. |
pascal@11222 | 22 compile_rules() |
pascal@11222 | 23 { |
al@17280 | 24 patch -p0 -i $stuff/allow-dropbear-ssh.patch |
al@17280 | 25 |
pascal@11222 | 26 ./configure \ |
monghitri@14098 | 27 --prefix=/usr \ |
pascal@11222 | 28 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11222 | 29 --sysconfdir=/etc \ |
al@17280 | 30 --disable-documentation \ |
al@17280 | 31 --disable-bash-completion \ |
al@17280 | 32 $CONFIGURE_ARGS && \ |
al@17280 | 33 make && make install |
pascal@11222 | 34 } |
pascal@11222 | 35 |
pascal@11222 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11222 | 37 genpkg_rules() |
pascal@11222 | 38 { |
al@17280 | 39 . $stuff/split |
pascal@11222 | 40 } |
al@17290 | 41 |
al@17290 | 42 post_install() |
al@17290 | 43 { |
al@17290 | 44 echo "Processing post-install commands..." |
al@17290 | 45 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
al@17290 | 46 } |
al@17290 | 47 |
al@17290 | 48 post_remove() |
al@17290 | 49 { |
al@17290 | 50 echo "Processing post-remove commands..." |
al@17290 | 51 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
al@17290 | 52 } |