wok-current view mate-menus/receipt @ rev 18505
mate-menus: keep python files
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Oct 17 12:28:50 2015 -0300 (2015-10-17) |
parents | a9c240804d58 |
children | 5ea0ce1cecc0 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --enable-python \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/python2.7/site-packages/
35 cp -a $install/usr/share $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/python2.7/site-packages/*.so* $fs/usr/lib/python2.7/site-packages/
38 cp -a $install/etc $fs
39 }