wok-current view marco/receipt @ rev 25553
Up amd-microcode (2021.Sep.10), intel-microcode (20230214)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 09 14:47:24 2023 +0000 (19 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="marco"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="A window manager for MATE Desktop."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="gtk+ libcanberra libgtop xorg-libICE xorg-libSM \
14 xorg-libXt startup-notification mate-desktop"
15 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool gtk-doc \
16 mate-common-dev mate-desktop-dev libcanberra-dev libgtop-dev yelp-tools \
17 xorg-libICE-dev xorg-libSM-dev xorg-libXt-dev startup-notification-dev \
18 util-linux-uuid-dev zenity xcb-util-dev"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/glib-2.0 $fs/usr/share
44 cp -a $install/usr/share/MateConf $fs/usr/share
45 cp -a $install/usr/share/mate* $fs/usr/share
46 cp -a $install/usr/share/themes $fs/usr/share
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }