wok rev 16991

Add mate-polkit and mate-polkit-dev
author Yuri Pourre <yuripourre@gmail.com>
date Sat Aug 09 12:57:36 2014 -0300 (2014-08-09)
parents 349f36ac34b1
children 465d052da880
files mate-polkit-dev/receipt mate-polkit/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mate-polkit-dev/receipt	Sat Aug 09 12:57:36 2014 -0300
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mate-polkit-dev"
     1.7 +VERSION="1.9.0"
     1.8 +CATEGORY="utilities"
     1.9 +LICENSE="GPL3"
    1.10 +SHORT_DESC="PolicyKit integration for the MATE desktop."
    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 +WANTED="mate-polkit"
    1.16 +DEPENDS="mate-polkit"
    1.17 +
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include
    1.21 +	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.22 +	cp -a $install/usr/lib/pkgconfig/* $fs/usr/lib/pkgconfig
    1.23 +	cp -a $install/usr/include/* $fs/usr/include
    1.24 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mate-polkit/receipt	Sat Aug 09 12:57:36 2014 -0300
     2.3 @@ -0,0 +1,39 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="mate-polkit"
     2.7 +VERSION="1.9.0"
     2.8 +CATEGORY="utilities"
     2.9 +LICENSE="GPL3"
    2.10 +SHORT_DESC="PolicyKit integration for the MATE desktop."
    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+ polkit"
    2.17 +BUILD_DEPENDS="wget cacerts autoconf automake libtool itstool \
    2.18 +gtk+-dev gtk-doc polkit-dev gobject-introspection-dev mate-common-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	./autogen.sh                           \
    2.24 +		--prefix=/usr                  \
    2.25 +		--libexecdir=/usr/lib/$PACKAGE \
    2.26 +		--sysconfdir=/etc              \
    2.27 +		--localstatedir=/var           \
    2.28 +		--with-gtk=2.0                 \
    2.29 +		--enable-introspection         \
    2.30 +		--disable-static               \
    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/etc $fs
    2.40 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.41 +	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib/$PACKAGE
    2.42 +}