wok view metacity/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (16 months ago) |
parents | 34e801e0eb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="metacity"
4 VERSION="2.30.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Window manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://blogs.gnome.org/metacity/"
11 WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/${VERSION%.*}/$TARBALL"
13 DEPENDS="gsettings-desktop-schemas libgio glib gtk+ xorg-libXcomposite \
14 xorg-libXdamage zenity xorg-libXinerama xorg-libXrandr xorg-libXcursor \
15 libcanberra libltdl libvorbis libogg GConf"
16 BUILD_DEPENDS="gsettings-desktop-schemas libgio-dev glib-dev gtk+-dev \
17 xorg-libXcomposite-dev xorg-libXdamage-dev zenity xorg-libXinerama-dev \
18 xorg-libXrandr-dev xorg-libXcursor-dev libcanberra-dev libltdl libvorbis-dev \
19 libogg-dev libtool gnome-doc-utils-dev GConf-dev util-linux-uuid-dev \
20 dbus-glib-dev file"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*/*}/$( \
26 wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
27 sed '/href="[0-9]/!d;s|.*href="||;s|".*||' | sort -Vr | sed q) 2>/dev/null | \
28 sed '/metacity-[0-9]/!d;/tar/!d;s|.*metacity-||;s|.tar.*||' | sort -Vr | sed q
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure --prefix=/usr \
35 --disable-verbose-mode --disable-sm --disable-scrollkeeper
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/usr $fs
44 rm -rf $fs/usr/include $fs/usr/lib/pkgconfig $fs/usr/share/gnome \
45 $fs/usr/share/gnome-control-center $fs/usr/share/man $fs/usr/share/locale
46 rm $fs/usr/lib/libmetacity-private.a $fs/usr/lib/libmetacity-private.la
47 }