wok annotate gvfs/receipt @ rev 12261
busybox-static: script needs CONFIG_FEATURE_DEVPTS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 11 17:19:02 2012 +0200 (2012-04-11) |
parents | 9bac87fce4e1 |
children | ee81ec751666 |
rev | line source |
---|---|
pascal@11222 | 1 # SliTaz package receipt. |
pascal@11222 | 2 |
pascal@11222 | 3 PACKAGE="gvfs" |
pascal@11222 | 4 VERSION="1.6.6" |
pascal@11222 | 5 CATEGORY="system-tools" |
pascal@11222 | 6 SHORT_DESC="Userspace virtual filesystem designed to work with gio." |
pascal@11222 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11222 | 8 DEPENDS="GConf dbus hal glib gnome-keyring" |
gokhlayeh@12123 | 9 BUILD_DEPENDS="GConf-dev dbus-dev hal-dev glib-dev gnome-keyring-dev \ |
pascal@12132 | 10 intltool libgio-dev" |
pascal@11222 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11222 | 12 WEB_SITE="http://www.gnome.org/" |
pascal@11222 | 13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@11222 | 14 |
pascal@11222 | 15 # Rules to configure and make the package. |
pascal@11222 | 16 compile_rules() |
pascal@11222 | 17 { |
pascal@11222 | 18 cd $src |
pascal@11222 | 19 grep -rl gio/gdesktopappinfo.h . | xargs sed -i \ |
pascal@11222 | 20 's|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|' |
pascal@11222 | 21 ./configure \ |
pascal@11222 | 22 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11222 | 23 --sysconfdir=/etc \ |
pascal@11222 | 24 --disable-gphoto2 \ |
pascal@11222 | 25 --disable-avahi \ |
pascal@11222 | 26 --disable-samba && |
pascal@11222 | 27 make && make install |
pascal@11222 | 28 } |
pascal@11222 | 29 |
pascal@11222 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11222 | 31 genpkg_rules() |
pascal@11222 | 32 { |
pascal@11222 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11222 | 34 cp -a $_pkg/etc $fs |
pascal@11222 | 35 cp -a $_pkg/usr/bin $fs/usr |
pascal@11222 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11222 | 37 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pascal@11222 | 38 cp -a $_pkg/usr/lib/gio $fs/usr/lib |
pascal@11222 | 39 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
pascal@11222 | 40 cp -a $_pkg/usr/share/gvfs $fs/usr/share |
pascal@11222 | 41 rm $fs/usr/lib/gio/modules/*.*a |
pascal@11222 | 42 strip -s $fs/usr/lib/$PACKAGE/* 2>/dev/null |
pascal@11222 | 43 } |