# HG changeset patch # User Yuri Pourre # Date 1407599856 10800 # Node ID 11a6c2255b4ecc86faead8cc53ec1a0546072853 # Parent 349f36ac34b1cfd1c82ef73012c69ee0bee8bda0 Add mate-polkit and mate-polkit-dev diff -r 349f36ac34b1 -r 11a6c2255b4e mate-polkit-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-polkit-dev/receipt Sat Aug 09 12:57:36 2014 -0300 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="mate-polkit-dev" +VERSION="1.9.0" +CATEGORY="utilities" +LICENSE="GPL3" +SHORT_DESC="PolicyKit integration for the MATE desktop." +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" +WANTED="mate-polkit" +DEPENDS="mate-polkit" + +genpkg_rules() +{ + mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/lib/pkgconfig/* $fs/usr/lib/pkgconfig + cp -a $install/usr/include/* $fs/usr/include +} diff -r 349f36ac34b1 -r 11a6c2255b4e mate-polkit/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-polkit/receipt Sat Aug 09 12:57:36 2014 -0300 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="mate-polkit" +VERSION="1.9.0" +CATEGORY="utilities" +LICENSE="GPL3" +SHORT_DESC="PolicyKit integration for the MATE desktop." +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+ polkit" +BUILD_DEPENDS="wget cacerts autoconf automake libtool itstool \ +gtk+-dev gtk-doc polkit-dev gobject-introspection-dev mate-common-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./autogen.sh \ + --prefix=/usr \ + --libexecdir=/usr/lib/$PACKAGE \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-gtk=2.0 \ + --enable-introspection \ + --disable-static \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/etc $fs + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/$PACKAGE $fs/usr/lib/$PACKAGE +}