wok-current view metacity/receipt @ rev 15341
n2nc: use autoconf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 11:40:18 2013 +0000 (2013-09-29) |
parents | 373911133ff9 |
children | f52ec947f7e6 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 HI_VERSION=$(echo $VERSION | sed 's|\([0-9\.]*\)\.[0-9]*|\1|')
11 WEB_SITE="http://blogs.gnome.org/metacity/"
12 WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/$HI_VERSION/$TARBALL"
14 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"
15 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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --disable-verbose-mode --disable-sm --disable-scrollkeeper
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 rm -rf $fs/usr/include $fs/usr/lib/pkgconfig $fs/usr/share/gnome \
32 $fs/usr/share/gnome-control-center $fs/usr/share/man $fs/usr/share/locale
33 rm $fs/usr/lib/libmetacity-private.a $fs/usr/lib/libmetacity-private.la
34 }