wok annotate gnome-vfs/receipt @ rev 24608
updated gmp and gmp-dev (6.2.0 -> 6.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 07:03:01 2022 +0100 (2022-03-04) |
parents | 6e8b1bcb30e2 |
children |
rev | line source |
---|---|
slaxemulator@7751 | 1 # SliTaz package receipt. |
slaxemulator@7751 | 2 |
slaxemulator@7751 | 3 PACKAGE="gnome-vfs" |
slaxemulator@7751 | 4 VERSION="2.24.4" |
slaxemulator@7751 | 5 CATEGORY="x-window" |
slaxemulator@7751 | 6 SHORT_DESC="The GNOME Virtual File System libraries" |
slaxemulator@7751 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@7751 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.gnome.org" |
pascal@13535 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@13535 | 12 |
pascal@13535 | 13 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 \ |
pascal@13535 | 14 zlib" |
pascal@13535 | 15 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \ |
pascal@13535 | 16 libxml2-dev zlib-dev intltool pkg-config" |
slaxemulator@7751 | 17 |
pascal@24111 | 18 current_version() |
pascal@24111 | 19 { |
pascal@24111 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 22 } |
pascal@24111 | 23 |
slaxemulator@7751 | 24 # Rules to configure and make the package. |
slaxemulator@7751 | 25 compile_rules() |
slaxemulator@7751 | 26 { |
pascal@17607 | 27 sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile* |
slaxemulator@7751 | 28 ./configure \ |
slaxemulator@7751 | 29 --prefix=/usr \ |
slaxemulator@7751 | 30 --sysconfdir=/etc/gnome \ |
slaxemulator@7751 | 31 --libexecdir=/usr/lib/gnome-vfs-2.0 \ |
pascal@13535 | 32 --disable-schemas-install \ |
slaxemulator@7751 | 33 $CONFIGURE_ARGS && |
pascal@13535 | 34 make && make DESTDIR=$DESTDIR install |
slaxemulator@7751 | 35 } |
slaxemulator@7751 | 36 |
slaxemulator@7751 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7751 | 38 genpkg_rules() |
slaxemulator@7751 | 39 { |
slaxemulator@7751 | 40 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@13535 | 41 cp -a $install/usr/bin $fs/usr |
pascal@13535 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13535 | 43 cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib |
pascal@13535 | 44 cp -a $install/usr/share/dbus* $fs/usr/share |
pascal@13535 | 45 cp -a $install/etc /$fs |
pascal@13535 | 46 |
slaxemulator@7751 | 47 # Clean unwated files |
slaxemulator@7751 | 48 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; |
pascal@13535 | 49 rm -rf ./include |
slaxemulator@7751 | 50 } |