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