wok view caja/receipt @ rev 17700

Up marlin: edit last patch (again)
author Yuri Pourre <yuripourre@gmail.com>
date Fri Feb 27 00:17:46 2015 -0300 (2015-02-27)
parents 5d53e8ccbc8d
children d7681abbb157
line source
1 # SliTaz package receipt.
3 PACKAGE="caja"
4 VERSION="1.9.0"
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"
12 TAGS="file-manager"
14 DEPENDS="gtk+ mate-desktop dconf exempi gvfs libunique"
15 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
16 gtk+-dev gtk-doc mate-common-dev mate-desktop-dev mate-icon-theme libunique-dev \
17 gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev \
18 pangox-compat-dev"
19 SUGGESTED="gvfs-smb"
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 $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
43 cp -a $install/usr/share/dbus-1 $fs/usr/share
44 cp -a $install/usr/share/glib-2.0 $fs/usr/share
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/$PACKAGE $fs/usr/share/$PACKAGE
48 mkdir -p $fs/usr/share/pixmaps
49 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
50 $fs/usr/share/pixmaps
51 }
53 # Post install/remove commands for Tazpkg.
54 post_install()
55 {
56 echo "Processing post-install commands..."
57 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
58 }
60 post_remove()
61 {
62 echo "Processing post-remove commands..."
63 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
64 }