wok-next diff mate-common/receipt @ rev 20103
Up cgal (4.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 29 11:38:58 2017 +0100 (2017-10-29) |
parents | b3372388a986 |
children | 757d032c55c7 |
line diff
1.1 --- a/mate-common/receipt Sun Oct 15 17:04:15 2017 +0200 1.2 +++ b/mate-common/receipt Sun Oct 29 11:38:58 2017 +0100 1.3 @@ -1,36 +1,29 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="mate-common" 1.8 -VERSION="1.9.0" 1.9 -CATEGORY="utilities" 1.10 +VERSION="1.18.0" 1.11 +CATEGORY="development" 1.12 +SHORT_DESC="Common scripts and macros to develop with MATE" 1.13 +MAINTAINER="yuripourre@gmail.com" 1.14 LICENSE="GPL3" 1.15 -SHORT_DESC="Common package for MATE applications." 1.16 -MAINTAINER="yuripourre@gmail.com" 1.17 +WEB_SITE="https://github.com/mate-desktop/mate-common" 1.18 + 1.19 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.20 -WEB_SITE="http://www.mate-desktop.org/" 1.21 -WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" 1.22 -TAGS="MATE" 1.23 -DEPENDS="" 1.24 -BUILD_DEPENDS="wget cacerts autoconf automake" 1.25 +WGET_URL="https://github.com/mate-desktop/mate-common/archive/v$VERSION.tar.gz" 1.26 1.27 -# Rules to configure and make the package. 1.28 -compile_rules() 1.29 -{ 1.30 - # automake-1.15 support 1.31 - sed -i 's/version_check automake/automake_progs="automake-1.15 $automake_progs"\n&/' macros/mate-autogen 1.32 - ./autogen.sh \ 1.33 - --prefix=/usr \ 1.34 +BUILD_DEPENDS="automake" 1.35 + 1.36 +compile_rules() { 1.37 + ./autogen.sh \ 1.38 + --sysconfdir=/etc \ 1.39 + --localstatedir=/var \ 1.40 $CONFIGURE_ARGS && 1.41 make && 1.42 - make DESTDIR=$DESTDIR install 1.43 + make install 1.44 } 1.45 1.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.47 -genpkg_rules() 1.48 -{ 1.49 - mkdir -p $fs/usr/share 1.50 - cp -a $install/usr/bin $fs/usr 1.51 - cp -a $install/usr/share/mate-common $fs/usr/share 1.52 - 1.53 - rm -rf $install/usr/share/man 1.54 +genpkg_rules() { 1.55 + copy @std @dev 1.56 + DEPENDS="automake libtool gettext intltool" 1.57 + TAGS="MATE" 1.58 }