wok-6.x annotate marco/receipt @ rev 18726
lynis 2.1.1: revert last commit, same problem. now again in /usr/share/lynis/
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Dec 18 13:31:13 2015 +0000 (2015-12-18) |
parents | 86780f05c8c2 |
children | 9e01bc6321ea |
rev | line source |
---|---|
yuripourre@17797 | 1 # SliTaz package receipt. |
yuripourre@17797 | 2 |
yuripourre@17797 | 3 PACKAGE="marco" |
yuripourre@17797 | 4 VERSION="1.9.3" |
yuripourre@17797 | 5 CATEGORY="utilities" |
yuripourre@17797 | 6 LICENSE="GPL3" |
yuripourre@17797 | 7 SHORT_DESC="A window manager for MATE Desktop." |
yuripourre@17797 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@17797 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@17797 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@17797 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@17797 | 12 |
yuripourre@18129 | 13 DEPENDS="gtk+ libcanberra libgtop xorg-libICE xorg-libSM \ |
yuripourre@18128 | 14 xorg-libXt startup-notification mate-desktop" |
yuripourre@17797 | 15 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool gtk-doc \ |
yuripourre@17797 | 16 mate-common-dev mate-desktop-dev libcanberra-dev libgtop-dev yelp-tools \ |
yuripourre@17797 | 17 xorg-libICE-dev xorg-libSM-dev xorg-libXt-dev startup-notification-dev \ |
yuripourre@17797 | 18 util-linux-uuid-dev zenity" |
yuripourre@17797 | 19 |
yuripourre@17797 | 20 # Rules to configure and make the package. |
yuripourre@17797 | 21 compile_rules() |
yuripourre@17797 | 22 { |
yuripourre@17797 | 23 ./autogen.sh \ |
yuripourre@17797 | 24 --prefix=/usr \ |
yuripourre@17797 | 25 --sysconfdir=/etc \ |
yuripourre@17797 | 26 --localstatedir=/var \ |
yuripourre@17797 | 27 --disable-static \ |
yuripourre@17797 | 28 $CONFIGURE_ARGS && |
yuripourre@17797 | 29 make && |
yuripourre@17797 | 30 make DESTDIR=$DESTDIR install |
yuripourre@17797 | 31 } |
yuripourre@17797 | 32 |
yuripourre@17797 | 33 genpkg_rules() |
yuripourre@17797 | 34 { |
yuripourre@18082 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
yuripourre@17797 | 36 cp -a $install/usr/bin $fs/usr |
yuripourre@18082 | 37 cp -a $install/usr/share/glib-2.0 $fs/usr/share |
psychomaniak@18277 | 38 cp -a $install/usr/share/MateConf $fs/usr/share |
psychomaniak@18277 | 39 cp -a $install/usr/share/mate* $fs/usr/share |
psychomaniak@18277 | 40 cp -a $install/usr/share/themes $fs/usr/share |
yuripourre@17797 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@17797 | 42 } |
yuripourre@18081 | 43 |
yuripourre@18081 | 44 post_install() |
yuripourre@18081 | 45 { |
yuripourre@18081 | 46 echo "Processing post-install commands..." |
yuripourre@18081 | 47 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@18081 | 48 } |
yuripourre@18081 | 49 |
yuripourre@18081 | 50 post_remove() |
yuripourre@18081 | 51 { |
yuripourre@18081 | 52 echo "Processing post-remove commands..." |
yuripourre@18081 | 53 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@18081 | 54 } |