wok-next annotate mate-polkit/receipt @ rev 19849
Fix packaging: lcms, libtool; up slitaz-tools-*; add mathomatic.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 28 19:54:13 2017 +0300 (2017-08-28) |
parents | 11a6c2255b4e |
children | 65c0fe17f3b9 |
rev | line source |
---|---|
yuripourre@16991 | 1 # SliTaz package receipt. |
yuripourre@16991 | 2 |
yuripourre@16991 | 3 PACKAGE="mate-polkit" |
yuripourre@16991 | 4 VERSION="1.9.0" |
yuripourre@16991 | 5 CATEGORY="utilities" |
yuripourre@16991 | 6 LICENSE="GPL3" |
yuripourre@16991 | 7 SHORT_DESC="PolicyKit integration for the MATE desktop." |
yuripourre@16991 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@16991 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@16991 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@16991 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@18280 | 12 TAGS="MATE" |
yuripourre@16991 | 13 DEPENDS="gtk+ polkit" |
yuripourre@16991 | 14 BUILD_DEPENDS="wget cacerts autoconf automake libtool itstool \ |
yuripourre@16991 | 15 gtk+-dev gtk-doc polkit-dev gobject-introspection-dev mate-common-dev" |
yuripourre@16991 | 16 |
yuripourre@16991 | 17 # Rules to configure and make the package. |
yuripourre@16991 | 18 compile_rules() |
yuripourre@16991 | 19 { |
yuripourre@16991 | 20 ./autogen.sh \ |
yuripourre@16991 | 21 --prefix=/usr \ |
yuripourre@16991 | 22 --libexecdir=/usr/lib/$PACKAGE \ |
yuripourre@16991 | 23 --sysconfdir=/etc \ |
yuripourre@16991 | 24 --localstatedir=/var \ |
yuripourre@16991 | 25 --with-gtk=2.0 \ |
yuripourre@16991 | 26 --enable-introspection \ |
yuripourre@16991 | 27 --disable-static \ |
yuripourre@16991 | 28 $CONFIGURE_ARGS && |
yuripourre@16991 | 29 make && |
yuripourre@16991 | 30 make DESTDIR=$DESTDIR install |
yuripourre@16991 | 31 } |
yuripourre@16991 | 32 |
yuripourre@16991 | 33 genpkg_rules() |
yuripourre@16991 | 34 { |
yuripourre@16991 | 35 mkdir -p $fs/usr/lib |
yuripourre@16991 | 36 cp -a $install/etc $fs |
yuripourre@16991 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@16991 | 38 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib/$PACKAGE |
yuripourre@16991 | 39 } |