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