wok view mate-common/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 73f36875e5a7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-common"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="Common package for MATE applications."
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"
12 TAGS="MATE"
13 DEPENDS=""
14 BUILD_DEPENDS="wget cacerts autoconf automake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|automake-1.14|automake-1.16 automake-1.15 &|' macros/mate-autogen
27 ./autogen.sh \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/mate-common $fs/usr/share
41 rm -rf $install/usr/share/man
42 }