wok annotate metacity/receipt @ rev 25039

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