wok annotate metacity/receipt @ rev 20604
Up linux-libre (3.18.129)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 17 23:42:42 2018 +0100 (2018-12-17) |
parents | 346b104468cc |
children | 0840763b8546 |
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@15623 | 14 DEPENDS="gsettings-desktop-schemas libgio glib gtk+ xorg-libXcomposite \ |
pascal@15623 | 15 xorg-libXdamage zenity xorg-libXinerama xorg-libXrandr xorg-libXcursor \ |
al@16780 | 16 libcanberra libltdl libvorbis libogg GConf" |
pascal@15623 | 17 BUILD_DEPENDS="gsettings-desktop-schemas libgio-dev glib-dev gtk+-dev \ |
pascal@15623 | 18 xorg-libXcomposite-dev xorg-libXdamage-dev zenity xorg-libXinerama-dev \ |
pascal@15623 | 19 xorg-libXrandr-dev xorg-libXcursor-dev libcanberra-dev libltdl libvorbis-dev \ |
pascal@20585 | 20 libogg-dev libtool gnome-doc-utils-dev GConf-dev util-linux-uuid-dev file" |
pascal@15000 | 21 |
al@13522 | 22 # Rules to configure and make the package. |
al@13522 | 23 compile_rules() |
al@13522 | 24 { |
al@13522 | 25 ./configure --prefix=/usr \ |
al@13522 | 26 --disable-verbose-mode --disable-sm --disable-scrollkeeper |
al@13522 | 27 make && |
pascal@15000 | 28 make DESTDIR=$DESTDIR install |
al@13522 | 29 } |
al@13522 | 30 |
al@13522 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13522 | 32 genpkg_rules() |
al@13522 | 33 { |
pascal@15000 | 34 cp -a $install/usr $fs |
al@13522 | 35 rm -rf $fs/usr/include $fs/usr/lib/pkgconfig $fs/usr/share/gnome \ |
al@13522 | 36 $fs/usr/share/gnome-control-center $fs/usr/share/man $fs/usr/share/locale |
al@13522 | 37 rm $fs/usr/lib/libmetacity-private.a $fs/usr/lib/libmetacity-private.la |
al@13522 | 38 } |