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