wok annotate mate-common/receipt @ rev 22416

clamav: add also libjson-c-dev to enable clamsubmit and preclass
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 14 20:41:58 2019 +0000 (2019-12-14)
parents e863f2041090
children 5ea0ce1cecc0
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@21120 19 sed -i 's|automake-1.14|automake-1.16 automake-1.15 &|' macros/mate-autogen
yuripourre@16945 20 ./autogen.sh \
yuripourre@16945 21 --prefix=/usr \
yuripourre@16945 22 $CONFIGURE_ARGS &&
yuripourre@16945 23 make &&
yuripourre@16945 24 make DESTDIR=$DESTDIR install
yuripourre@16945 25 }
yuripourre@16945 26
yuripourre@16958 27 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16945 28 genpkg_rules()
yuripourre@16945 29 {
yuripourre@16958 30 mkdir -p $fs/usr/share
yuripourre@16958 31 cp -a $install/usr/bin $fs/usr
yuripourre@16958 32 cp -a $install/usr/share/mate-common $fs/usr/share
yuripourre@16958 33
yuripourre@16958 34 rm -rf $install/usr/share/man
yuripourre@16945 35 }