wok annotate marco/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents a87ef96746f0
children 73f36875e5a7
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 \
pascal@19779 18 util-linux-uuid-dev zenity xcb-util-dev"
yuripourre@17797 19
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 24 }
pascal@24055 25
yuripourre@17797 26 # Rules to configure and make the package.
yuripourre@17797 27 compile_rules()
yuripourre@17797 28 {
al@18741 29 ./autogen.sh \
yuripourre@17797 30 --prefix=/usr \
yuripourre@17797 31 --sysconfdir=/etc \
yuripourre@17797 32 --localstatedir=/var \
yuripourre@17797 33 --disable-static \
yuripourre@17797 34 $CONFIGURE_ARGS &&
yuripourre@17797 35 make &&
yuripourre@17797 36 make DESTDIR=$DESTDIR install
yuripourre@17797 37 }
yuripourre@17797 38
yuripourre@17797 39 genpkg_rules()
yuripourre@17797 40 {
yuripourre@18082 41 mkdir -p $fs/usr/lib $fs/usr/share
yuripourre@17797 42 cp -a $install/usr/bin $fs/usr
yuripourre@18082 43 cp -a $install/usr/share/glib-2.0 $fs/usr/share
psychomaniak@18277 44 cp -a $install/usr/share/MateConf $fs/usr/share
psychomaniak@18277 45 cp -a $install/usr/share/mate* $fs/usr/share
psychomaniak@18277 46 cp -a $install/usr/share/themes $fs/usr/share
yuripourre@17797 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
yuripourre@17797 48 }