wok annotate mate-common/receipt @ rev 25214

updated python-pastedeploy (2.1.0 -> 2.1.1)
author Hans-G?nter Theisgen
date Wed Jul 13 15:21:10 2022 +0100 (2022-07-13)
parents 51b6d5cc79ab
children 73f36875e5a7
rev   line source
yuripourre@16945 1 # SliTaz package receipt.
yuripourre@16945 2
yuripourre@16945 3 PACKAGE="mate-common"
yuripourre@16945 4 VERSION="1.9.0"
yuripourre@16945 5 CATEGORY="utilities"
yuripourre@16945 6 LICENSE="GPL3"
yuripourre@16945 7 SHORT_DESC="Common package for MATE applications."
yuripourre@16945 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@16945 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
yuripourre@16945 10 WEB_SITE="http://www.mate-desktop.org/"
yuripourre@16945 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
yuripourre@18280 12 TAGS="MATE"
yuripourre@16945 13 DEPENDS=""
yuripourre@16958 14 BUILD_DEPENDS="wget cacerts autoconf automake"
yuripourre@16945 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
yuripourre@16945 22 # Rules to configure and make the package.
yuripourre@16945 23 compile_rules()
yuripourre@16945 24 {
pascal@21120 25 sed -i 's|automake-1.14|automake-1.16 automake-1.15 &|' macros/mate-autogen
yuripourre@16945 26 ./autogen.sh \
yuripourre@16945 27 --prefix=/usr \
yuripourre@16945 28 $CONFIGURE_ARGS &&
yuripourre@16945 29 make &&
yuripourre@16945 30 make DESTDIR=$DESTDIR install
yuripourre@16945 31 }
yuripourre@16945 32
yuripourre@16958 33 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16945 34 genpkg_rules()
yuripourre@16945 35 {
yuripourre@16958 36 mkdir -p $fs/usr/share
yuripourre@16958 37 cp -a $install/usr/bin $fs/usr
yuripourre@16958 38 cp -a $install/usr/share/mate-common $fs/usr/share
yuripourre@16958 39
yuripourre@16958 40 rm -rf $install/usr/share/man
yuripourre@16945 41 }