wok-next diff metacity/receipt @ rev 20889
Check Repology info from y* to z* packages: complete
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 15 10:27:39 2018 +0300 (2018-07-15) |
parents | 757d032c55c7 |
children | a3c581bf52b8 |
line diff
1.1 --- a/metacity/receipt Fri Mar 30 19:31:50 2018 +0300 1.2 +++ b/metacity/receipt Sun Jul 15 10:27:39 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="metacity" 1.8 VERSION="2.30.3" 1.9 @@ -6,33 +6,30 @@ 1.10 SHORT_DESC="Window manager" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://blogs.gnome.org/metacity/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -HI_VERSION=$(echo $VERSION | sed 's|\([0-9\.]*\)\.[0-9]*|\1|') 1.17 -WEB_SITE="http://blogs.gnome.org/metacity/" 1.18 -WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/$HI_VERSION/$TARBALL" 1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.20 1.21 -DEPENDS="gsettings-desktop-schemas glib gtk+ xorg-libXcomposite \ 1.22 -xorg-libXdamage zenity-gtk2 xorg-libXinerama xorg-libXrandr xorg-libXcursor \ 1.23 -libcanberra libltdl libvorbis libogg GConf" 1.24 BUILD_DEPENDS="gsettings-desktop-schemas glib-dev gtk+-dev \ 1.25 xorg-libXcomposite-dev xorg-libXdamage-dev zenity-gtk2 xorg-libXinerama-dev \ 1.26 xorg-libXrandr-dev xorg-libXcursor-dev libcanberra-dev libltdl libvorbis-dev \ 1.27 libogg-dev libtool gnome-doc-utils GConf-dev util-linux-uuid-dev intltool" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - ./configure --prefix=/usr \ 1.33 - --disable-verbose-mode --disable-sm --disable-scrollkeeper 1.34 +compile_rules() { 1.35 + ./configure \ 1.36 + --disable-verbose-mode \ 1.37 + --disable-sm \ 1.38 + --disable-scrollkeeper \ 1.39 + && 1.40 + fix libtool && 1.41 make && 1.42 make DESTDIR=$DESTDIR install 1.43 } 1.44 1.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.46 -genpkg_rules() 1.47 -{ 1.48 - cp -a $install/usr $fs 1.49 - rm -rf $fs/usr/include $fs/usr/lib/pkgconfig $fs/usr/share/gnome \ 1.50 - $fs/usr/share/gnome-control-center $fs/usr/share/man $fs/usr/share/locale 1.51 - rm $fs/usr/lib/libmetacity-private.a $fs/usr/lib/libmetacity-private.la 1.52 +genpkg_rules() { 1.53 + copy @std 1.54 + DEPENDS="gsettings-desktop-schemas glib gtk+ xorg-libXcomposite \ 1.55 + xorg-libXdamage zenity-gtk2 xorg-libXinerama xorg-libXrandr xorg-libXcursor \ 1.56 + libcanberra libltdl libvorbis libogg GConf" 1.57 }