wok-current view mate-polkit/receipt @ rev 21421
flashrom: fix build (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 24 18:02:37 2019 +0200 (2019-04-24) |
parents | e863f2041090 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-polkit"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="PolicyKit integration for the MATE desktop."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
12 TAGS="MATE"
13 DEPENDS="gtk+ polkit"
14 BUILD_DEPENDS="wget cacerts autoconf automake libtool itstool \
15 gtk+-dev gtk-doc polkit-dev gobject-introspection-dev mate-common-dev \
16 expat-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh \
22 --prefix=/usr \
23 --libexecdir=/usr/lib/$PACKAGE \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --with-gtk=2.0 \
27 --enable-introspection \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/etc $fs
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib/$PACKAGE
40 }