SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gnome-vfs"

# SliTaz package receipt.

PACKAGE="gnome-vfs"
VERSION="2.24.4"
CATEGORY="x-window"
SHORT_DESC="The GNOME Virtual File System libraries"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.gnome.org"
WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 \
zlib"
BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
libxml2-dev zlib-dev intltool pkg-config"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc/gnome \
        --libexecdir=/usr/lib/gnome-vfs-2.0 \
        --disable-schemas-install \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
    cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
    cp -a $install/usr/share/dbus* $fs/usr/share
    cp -a $install/etc /$fs

    # Clean unwated files
    cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
    rm -rf ./include
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)