wok-6.x 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 | 906669ffa497 |
children | fd6dbd42a03d |
files | caja-dev/receipt caja/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/caja-dev/receipt Thu Aug 07 21:28:28 2014 -0300 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="caja-dev" 1.7 +VERSION="1.9.0" 1.8 +CATEGORY="libdevel" 1.9 +LICENSE="GPL3" 1.10 +SHORT_DESC="Library to develop caja extensions." 1.11 +MAINTAINER="yuripourre@gmail.com" 1.12 +WANTED="caja" 1.13 +DEPENDS="caja" 1.14 + 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib $fs/usr/include 1.18 + cp -a $install/usr/lib/*.la $fs/usr/lib 1.19 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.20 + cp -a $install/usr/include/* $fs/usr/include 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/caja/receipt Thu Aug 07 21:28:28 2014 -0300 2.3 @@ -0,0 +1,53 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="caja" 2.7 +VERSION="1.9.0" 2.8 +CATEGORY="utilities" 2.9 +LICENSE="GPL3" 2.10 +SHORT_DESC="MATE file manager." 2.11 +MAINTAINER="yuripourre@gmail.com" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.mate-desktop.org/" 2.14 +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" 2.15 + 2.16 +DEPENDS="gtk+ mate-desktop dconf exempi gvfs libunique" 2.17 +BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \ 2.18 +gtk+-dev gtk-doc mate-common-dev mate-desktop-dev mate-icon-theme libunique-dev \ 2.19 +gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev" 2.20 +SUGGESTED="gvfs-smb" 2.21 + 2.22 +# Rules to configure and make the package. 2.23 +compile_rules() 2.24 +{ 2.25 + ./autogen.sh \ 2.26 + --prefix=/usr \ 2.27 + --enable-introspection \ 2.28 + --enable-unique \ 2.29 + --disable-static \ 2.30 + --disable-update-mimedb \ 2.31 + $CONFIGURE_ARGS && 2.32 + make && 2.33 + make DESTDIR=$DESTDIR install 2.34 +} 2.35 + 2.36 +genpkg_rules() 2.37 +{ 2.38 + mkdir -p $fs/usr/lib 2.39 + cp -a $install/usr/bin $fs/usr 2.40 + cp -a $install/usr/share $fs/usr 2.41 + cp -a $install/usr/libexec $fs/usr/bin 2.42 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.43 +} 2.44 + 2.45 +# Post install/remove commands for Tazpkg. 2.46 +post_install() 2.47 +{ 2.48 + echo "Processing post-install commands..." 2.49 + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 2.50 +} 2.51 + 2.52 +post_remove() 2.53 +{ 2.54 + echo "Processing post-remove commands..." 2.55 + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 2.56 +}