wok-current annotate mate-menus/receipt @ rev 24688
updated jhead (3.04 -> 3.06.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 13:31:56 2022 +0100 (2022-03-12) |
parents | afab00bd26c5 |
children | 73f36875e5a7 |
rev | line source |
---|---|
yuripourre@17800 | 1 # SliTaz package receipt. |
yuripourre@17800 | 2 |
yuripourre@17800 | 3 PACKAGE="mate-menus" |
yuripourre@17800 | 4 VERSION="1.9.0" |
yuripourre@17800 | 5 CATEGORY="utilities" |
yuripourre@17800 | 6 LICENSE="GPL3" |
yuripourre@17800 | 7 SHORT_DESC="Common package for MATE Desktop applications." |
yuripourre@17800 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@17800 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@17800 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@17800 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@17800 | 12 TAGS="MATE" |
yuripourre@17800 | 13 DEPENDS="glib python" |
yuripourre@17800 | 14 BUILD_DEPENDS="wget cacerts autoconf automake gobject-introspection-dev \ |
yuripourre@17800 | 15 libtool itstool mate-common-dev python-dev" |
yuripourre@17800 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
yuripourre@17800 | 23 # Rules to configure and make the package. |
yuripourre@17800 | 24 compile_rules() |
yuripourre@17800 | 25 { |
yuripourre@17800 | 26 ./autogen.sh \ |
yuripourre@17800 | 27 --prefix=/usr \ |
yuripourre@17800 | 28 --sysconfdir=/etc \ |
yuripourre@17800 | 29 --localstatedir=/var \ |
yuripourre@17800 | 30 --enable-python \ |
yuripourre@17800 | 31 --disable-static \ |
yuripourre@17800 | 32 $CONFIGURE_ARGS && |
yuripourre@17800 | 33 make && |
yuripourre@17800 | 34 make DESTDIR=$DESTDIR install |
yuripourre@17800 | 35 } |
yuripourre@17800 | 36 |
yuripourre@17800 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@17800 | 38 genpkg_rules() |
yuripourre@17800 | 39 { |
yuripourre@18505 | 40 mkdir -p $fs/usr/lib/python2.7/site-packages/ |
yuripourre@17800 | 41 cp -a $install/usr/share $fs/usr |
yuripourre@17800 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@18505 | 43 cp -a $install/usr/lib/python2.7/site-packages/*.so* $fs/usr/lib/python2.7/site-packages/ |
psychomaniak@18277 | 44 cp -a $install/etc $fs |
yuripourre@17800 | 45 } |