wok view gnome-desktop/receipt @ rev 24326
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 27 12:16:00 2022 +0000 (2022-01-27) |
parents | 7bee98929640 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-desktop"
4 VERSION="2.28.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Desktop"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="GConf gtk+ startup-notification"
14 BUILD_DEPENDS="python-dev libxml2-python GConf-dev gnome-doc-utils-dev \
15 dbus-glib-dev intltool gtk+-dev"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc/gnome \
30 --localstatedir=/var/lib \
31 --enable-gtk-doc-html=no \
32 --enable-gtk-doc=no \
33 --disable-scrollkeeper \
34 --disable-static \
35 --with-gnome-distributor="SliTaz GNU/Linux" \
36 $CONFIGURE_ARGS &&
37 make && make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib $fs/usr/share
44 #cp -a $install/etc $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 #cp -a $install/usr/share/dbus-1 $fs/usr/share
48 }