wok annotate polkit/receipt @ rev 11806
sdcc: fix cp -u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 25 16:25:09 2012 +0100 (2012-02-25) |
parents | 0e5a7df3d92f |
children | 3c2bd4920bdb |
rev | line source |
---|---|
slaxemulator@7921 | 1 # SliTaz package receipt. |
slaxemulator@7921 | 2 |
slaxemulator@7921 | 3 PACKAGE="polkit" |
slaxemulator@11359 | 4 VERSION="0.103" |
slaxemulator@8860 | 5 CATEGORY="base-system" |
slaxemulator@7921 | 6 SHORT_DESC="Application development toolkit for controlling system-wide privileges." |
slaxemulator@7921 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7921 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7921 | 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/PolicyKit" |
slaxemulator@7921 | 10 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
pankso@10387 | 11 CROSS="error: cannot check for file existence when cross compiling" |
slaxemulator@7921 | 12 |
pankso@9764 | 13 DEPENDS="glib libgio dbus dbus-glib expat pam" |
gokhlayeh@11393 | 14 BUILD_DEPENDS="gobject-introspection-dev dbus-dev dbus-glib-dev pam-dev \ |
gokhlayeh@11393 | 15 intltool" |
pankso@9764 | 16 |
slaxemulator@7921 | 17 # Rules to configure and make the package. |
slaxemulator@7921 | 18 compile_rules() |
slaxemulator@7921 | 19 { |
slaxemulator@7921 | 20 cd $src |
slaxemulator@7922 | 21 ./configure \ |
slaxemulator@7922 | 22 --prefix=/usr \ |
slaxemulator@7921 | 23 --sysconfdir=/etc \ |
slaxemulator@7921 | 24 --localstatedir=/var \ |
slaxemulator@7921 | 25 --libexecdir=/usr/lib/polkit-1 \ |
slaxemulator@7922 | 26 --disable-man-pages \ |
slaxemulator@7922 | 27 --disable-gtk-doc \ |
pankso@10387 | 28 --build=$HOST_SYSTEM \ |
pankso@10387 | 29 --host=$HOST_SYSTEM && |
pankso@10387 | 30 make && make install |
slaxemulator@7921 | 31 } |
slaxemulator@7921 | 32 |
slaxemulator@7921 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7921 | 34 genpkg_rules() |
slaxemulator@7921 | 35 { |
slaxemulator@7921 | 36 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@7921 | 37 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7921 | 38 cp -a $_pkg/etc $fs |
slaxemulator@7921 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7921 | 40 cp -a $_pkg/usr/lib/polkit-1 $fs/usr/lib |
slaxemulator@7921 | 41 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib |
slaxemulator@7921 | 42 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
slaxemulator@7921 | 43 cp -a $_pkg/usr/share/polkit-1 $fs/usr/share |
slaxemulator@7921 | 44 cp -a $_pkg/var $fs |
slaxemulator@7921 | 45 } |