wok-6.x diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/caja/receipt	Thu Aug 07 21:28:28 2014 -0300
     1.3 @@ -0,0 +1,53 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="caja"
     1.7 +VERSION="1.9.0"
     1.8 +CATEGORY="utilities"
     1.9 +LICENSE="GPL3"
    1.10 +SHORT_DESC="MATE file manager."
    1.11 +MAINTAINER="yuripourre@gmail.com"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.mate-desktop.org/"
    1.14 +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gtk+ mate-desktop dconf exempi gvfs libunique"
    1.17 +BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
    1.18 +gtk+-dev gtk-doc mate-common-dev mate-desktop-dev mate-icon-theme libunique-dev \
    1.19 +gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev"
    1.20 +SUGGESTED="gvfs-smb"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	./autogen.sh                    \
    1.26 +		--prefix=/usr           \
    1.27 +		--enable-introspection  \
    1.28 +		--enable-unique         \
    1.29 +		--disable-static        \
    1.30 +		--disable-update-mimedb \
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	make &&
    1.33 +	make DESTDIR=$DESTDIR install
    1.34 +}
    1.35 +
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/lib
    1.39 +	cp -a $install/usr/bin $fs/usr
    1.40 +	cp -a $install/usr/share $fs/usr
    1.41 +	cp -a $install/usr/libexec $fs/usr/bin
    1.42 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.43 +}
    1.44 +
    1.45 +# Post install/remove commands for Tazpkg.
    1.46 +post_install()
    1.47 +{
    1.48 +	echo "Processing post-install commands..."
    1.49 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.50 +}
    1.51 +
    1.52 +post_remove()
    1.53 +{ 
    1.54 +	echo "Processing post-remove commands..."
    1.55 +	chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.56 +}