wok view mozo/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents 7b6345f8a12a
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="mozo"
4 VERSION="1.8.0"
5 CATEGORY="x-window"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE menu editing tool"
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
12 TAGS="MATE"
14 DEPENDS="gtk+ mate-menus pygtk pygobject"
15 BUILD_DEPENDS="wget gtk+-dev autoconf automake mate-common-dev \
16 mate-desktop-dev mate-menus-dev pygobject-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share $fs/usr
40 }