wok view gnome-vfs/receipt @ rev 23774

add firmware-amdgpu (20200515)
author Richard Dunbar <mojo@slitaz.org>
date Fri May 15 23:04:30 2020 -0400 (2020-05-15)
parents 9cb3fe5a9915
children 6831608a1b2a
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-vfs"
4 VERSION="2.24.4"
5 CATEGORY="x-window"
6 SHORT_DESC="The GNOME Virtual File System libraries"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 \
14 zlib"
15 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
16 libxml2-dev zlib-dev intltool pkg-config"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc/gnome \
25 --libexecdir=/usr/lib/gnome-vfs-2.0 \
26 --disable-schemas-install \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
38 cp -a $install/usr/share/dbus* $fs/usr/share
39 cp -a $install/etc /$fs
41 # Clean unwated files
42 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
43 rm -rf ./include
44 }