wok annotate metacity/receipt @ rev 14278
merge
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 15:17:50 2013 +0200 (2013-04-06) |
parents | |
children | 380ffe05937a |
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" |
al@13522 | 8 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" |
al@13522 | 9 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" |
al@13522 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@13522 | 11 HI_VERSION=$(echo $VERSION | sed 's|\([0-9\.]*\)\.[0-9]*|\1|') |
al@13522 | 12 WEB_SITE="http://blogs.gnome.org/metacity/" |
al@13522 | 13 WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/$HI_VERSION/$TARBALL" |
al@13522 | 14 |
al@13522 | 15 # Rules to configure and make the package. |
al@13522 | 16 compile_rules() |
al@13522 | 17 { |
al@13522 | 18 cd $src |
al@13522 | 19 ./configure --prefix=/usr \ |
al@13522 | 20 --disable-verbose-mode --disable-sm --disable-scrollkeeper |
al@13522 | 21 make && |
al@13522 | 22 make DESTDIR=$PWD/_pkg install |
al@13522 | 23 } |
al@13522 | 24 |
al@13522 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13522 | 26 genpkg_rules() |
al@13522 | 27 { |
al@13522 | 28 cp -a $_pkg/usr $fs |
al@13522 | 29 rm -rf $fs/usr/include $fs/usr/lib/pkgconfig $fs/usr/share/gnome \ |
al@13522 | 30 $fs/usr/share/gnome-control-center $fs/usr/share/man $fs/usr/share/locale |
al@13522 | 31 rm $fs/usr/lib/libmetacity-private.a $fs/usr/lib/libmetacity-private.la |
al@13522 | 32 } |