wok view caja/receipt @ rev 17501

Normalize tags "file-manager", "web-browser", "text-editor", "terminal", and "window-manager" according to tazx.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 08 02:04:05 2015 +0200 (2015-01-08)
parents f18f64a16e96
children 1f57a2d79cf7
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 SUGGESTED="gvfs-smb"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh \
24 --prefix=/usr \
25 --libexecdir=/usr/lib/$PACKAGE \
26 --enable-introspection \
27 --enable-unique \
28 --disable-static \
29 --disable-update-mimedb \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
42 cp -a $install/usr/share/dbus-1 $fs/usr/share
43 cp -a $install/usr/share/glib-2.0 $fs/usr/share
44 cp -a $install/usr/share/applications $fs/usr/share
45 cp -a $install/usr/share/$PACKAGE $fs/usr/share/$PACKAGE
47 mkdir -p $fs/usr/share/pixmaps
48 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
49 $fs/usr/share/pixmaps
50 }
52 # Post install/remove commands for Tazpkg.
53 post_install()
54 {
55 echo "Processing post-install commands..."
56 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
57 }
59 post_remove()
60 {
61 echo "Processing post-remove commands..."
62 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
63 }