wok view caja/receipt @ rev 16982

Add caja and caja-dev
author Yuri Pourre <yuripourre@gmail.com>
date Thu Aug 07 21:28:28 2014 -0300 (2014-08-07)
parents
children fd6dbd42a03d
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"
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./autogen.sh \
23 --prefix=/usr \
24 --enable-introspection \
25 --enable-unique \
26 --disable-static \
27 --disable-update-mimedb \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share $fs/usr
38 cp -a $install/usr/libexec $fs/usr/bin
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }
42 # Post install/remove commands for Tazpkg.
43 post_install()
44 {
45 echo "Processing post-install commands..."
46 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
47 }
49 post_remove()
50 {
51 echo "Processing post-remove commands..."
52 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
53 }