wok view caja/receipt @ rev 18347

Up: file (5.24)
author Alexander Medvedev <devl547@gmail.com>
date Fri Sep 11 19:38:34 2015 +0000 (2015-09-11)
parents a9c240804d58
children 6fab3264ba87
line source
1 # SliTaz package receipt.
3 PACKAGE="caja"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE file manager."
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"
13 DEPENDS="gtk+ mate-desktop dconf exempi gvfs libunique"
14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
15 gtk+-dev gtk-doc mate-common-dev mate-desktop-dev mate-icon-theme libunique-dev \
16 gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev"
17 SUGGESTED="gvfs-smb"
19 TAGS="MATE file-manager"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./autogen.sh \
25 --prefix=/usr \
26 --libexecdir=/usr/lib/$PACKAGE \
27 --enable-introspection \
28 --enable-unique \
29 --disable-static \
30 --disable-update-mimedb \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/$PACKAGE
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/$PACKAGE/* $fs/usr/lib/$PACKAGE
42 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
44 mkdir -p $fs/usr/share/applications
45 cp -a $install/usr/share/applications/* $fs/usr/share/applications
47 mkdir -p $fs/usr/share/dbus-1
48 cp -a $install/usr/share/dbus-1/* $fs/usr/share/dbus-1
50 mkdir -p $fs/usr/share/pixmaps
51 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
52 $fs/usr/share/pixmaps
54 cp -a $install/usr/share/MateConf $fs/usr/share
55 cp -a $install/usr/share/glib-2.0 $fs/usr/share
56 }
58 # Post install/remove commands for Tazpkg.
59 post_install()
60 {
61 echo "Processing post-install commands..."
62 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
63 }
65 post_remove()
66 {
67 echo "Processing post-remove commands..."
68 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
69 }