# HG changeset patch # User Yuri Pourre # Date 1407457708 10800 # Node ID c62b692349739b50268436dd525627a396fa35e5 # Parent 906669ffa497b6226b8604b12032c918b96b71df Add caja and caja-dev diff -r 906669ffa497 -r c62b69234973 caja-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/caja-dev/receipt Thu Aug 07 21:28:28 2014 -0300 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="caja-dev" +VERSION="1.9.0" +CATEGORY="libdevel" +LICENSE="GPL3" +SHORT_DESC="Library to develop caja extensions." +MAINTAINER="yuripourre@gmail.com" +WANTED="caja" +DEPENDS="caja" + +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/include + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include/* $fs/usr/include +} diff -r 906669ffa497 -r c62b69234973 caja/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/caja/receipt Thu Aug 07 21:28:28 2014 -0300 @@ -0,0 +1,53 @@ +# SliTaz package receipt. + +PACKAGE="caja" +VERSION="1.9.0" +CATEGORY="utilities" +LICENSE="GPL3" +SHORT_DESC="MATE file manager." +MAINTAINER="yuripourre@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.mate-desktop.org/" +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" + +DEPENDS="gtk+ mate-desktop dconf exempi gvfs libunique" +BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \ +gtk+-dev gtk-doc mate-common-dev mate-desktop-dev mate-icon-theme libunique-dev \ +gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev" +SUGGESTED="gvfs-smb" + +# Rules to configure and make the package. +compile_rules() +{ + ./autogen.sh \ + --prefix=/usr \ + --enable-introspection \ + --enable-unique \ + --disable-static \ + --disable-update-mimedb \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share $fs/usr + cp -a $install/usr/libexec $fs/usr/bin + cp -a $install/usr/lib/*.so* $fs/usr/lib +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + echo "Processing post-install commands..." + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +}