wok-next annotate mate-common/receipt @ rev 19936

mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 15 17:04:15 2017 +0200 (2017-10-15)
parents e863f2041090
children 65c0fe17f3b9
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
yuripourre@16945 16 # Rules to configure and make the package.
yuripourre@16945 17 compile_rules()
yuripourre@16945 18 {
pascal@19936 19 # automake-1.15 support
pascal@19936 20 sed -i 's/version_check automake/automake_progs="automake-1.15 $automake_progs"\n&/' macros/mate-autogen
yuripourre@16945 21 ./autogen.sh \
yuripourre@16945 22 --prefix=/usr \
yuripourre@16945 23 $CONFIGURE_ARGS &&
yuripourre@16945 24 make &&
yuripourre@16945 25 make DESTDIR=$DESTDIR install
yuripourre@16945 26 }
yuripourre@16945 27
yuripourre@16958 28 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16945 29 genpkg_rules()
yuripourre@16945 30 {
yuripourre@16958 31 mkdir -p $fs/usr/share
yuripourre@16958 32 cp -a $install/usr/bin $fs/usr
yuripourre@16958 33 cp -a $install/usr/share/mate-common $fs/usr/share
yuripourre@16958 34
yuripourre@16958 35 rm -rf $install/usr/share/man
yuripourre@16945 36 }