# SliTaz package receipt. PACKAGE="mate-menus" VERSION="1.9.0" CATEGORY="utilities" LICENSE="GPL3" SHORT_DESC="Common package for MATE Desktop applications." MAINTAINER="yuripourre@gmail.com" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.mate-desktop.org/" WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" TAGS="MATE" DEPENDS="glib python" BUILD_DEPENDS="wget cacerts autoconf automake gobject-introspection-dev \ libtool itstool mate-common-dev python-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-python \ --disable-static \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/python2.7/site-packages/ cp -a $install/usr/share $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/python2.7/site-packages/*.so* $fs/usr/lib/python2.7/site-packages/ cp -a $install/etc $fs }