wok-6.x diff metacity/receipt @ rev 13953

Up cookutils (3.1.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 30 08:50:27 2013 +0100 (2013-01-30)
parents
children 380ffe05937a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/metacity/receipt	Wed Jan 30 08:50:27 2013 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="metacity"
     1.7 +VERSION="2.30.3"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Window manager"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +DEPENDS="gsettings-desktop-schemas libgio glib gtk+ xorg-libXcomposite xorg-libXdamage zenity xorg-libXinerama xorg-libXrandr xorg-libXcursor libcanberra libltdl libvorbis libogg libtool gnome-doc-utils GConf"
    1.12 +BUILD_DEPENDS="gsettings-desktop-schemas libgio-dev glib-dev gtk+-dev xorg-libXcomposite-dev xorg-libXdamage-dev zenity xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXcursor-dev libcanberra-dev libltdl libvorbis-dev libogg-dev libtool gnome-doc-utils-dev GConf-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +HI_VERSION=$(echo $VERSION | sed 's|\([0-9\.]*\)\.[0-9]*|\1|')
    1.15 +WEB_SITE="http://blogs.gnome.org/metacity/"
    1.16 +WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/$HI_VERSION/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr \
    1.23 +		--disable-verbose-mode --disable-sm --disable-scrollkeeper
    1.24 +	make &&
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $_pkg/usr $fs
    1.32 +	rm -rf $fs/usr/include $fs/usr/lib/pkgconfig $fs/usr/share/gnome \
    1.33 +	$fs/usr/share/gnome-control-center $fs/usr/share/man $fs/usr/share/locale
    1.34 +	rm $fs/usr/lib/libmetacity-private.a $fs/usr/lib/libmetacity-private.la
    1.35 +}