wok-next annotate udisks/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | 4396aed7eb01 |
children | 10df65db91ad |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
monghitri@14135 | 2 |
monghitri@14135 | 3 PACKAGE="udisks" |
monghitri@14135 | 4 VERSION="1.0.4" |
monghitri@14135 | 5 CATEGORY="system-tools" |
al@20464 | 6 SHORT_DESC="D-Bus interfaces to query and manipulate storage devices" |
monghitri@14135 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@20464 | 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" |
al@20464 | 10 |
monghitri@14135 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
monghitri@14135 | 12 WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" |
pascal@15002 | 13 |
monghitri@14135 | 14 BUILD_DEPENDS="libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \ |
monghitri@14135 | 15 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \ |
al@19675 | 16 util-linux-blkid-dev util-linux-uuid-dev intltool" |
al@20464 | 17 SPLIT="udisks-dev" |
monghitri@14135 | 18 |
al@20464 | 19 compile_rules() { |
monghitri@14135 | 20 ./configure \ |
monghitri@14135 | 21 --libexecdir=/usr/lib/udisks \ |
monghitri@14135 | 22 --disable-static \ |
monghitri@14135 | 23 --disable-remote-access \ |
monghitri@14135 | 24 --disable-gtk-doc-html \ |
monghitri@14135 | 25 $CONFIGURE_ARGS && |
al@20534 | 26 make && |
al@20534 | 27 make install |
monghitri@14135 | 28 } |
monghitri@14135 | 29 |
al@20464 | 30 genpkg_rules() { |
al@20464 | 31 case $PACKAGE in |
al@20464 | 32 udisks) |
al@20464 | 33 mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \ |
al@20464 | 34 $fs/usr/lib/udev $fs/usr/share $fs/etc/udev |
al@20464 | 35 cp -a $install/etc/dbus-1 $fs/etc |
al@20464 | 36 cp -a $install/lib/udev/rules.d $fs/etc/udev |
al@20464 | 37 cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/ |
al@20464 | 38 cp -a $install/usr/bin $fs/usr |
al@20464 | 39 cp -a $install/sbin $fs |
al@20464 | 40 cp -a $install/usr/lib/udisks $fs/usr/lib |
al@20464 | 41 cp -a $install/usr/share/*-1 $fs/usr/share |
al@20464 | 42 #we don't have consolekit and don't want systemd so we need |
al@20464 | 43 #a rule to give disk group complete access to udisks2 |
al@20464 | 44 #methods without password. |
al@20464 | 45 cp $stuff/org.freedesktop.udisks.pkla \ |
al@20464 | 46 $fs/etc/polkit-1/localauthority/90-mandatory.d |
al@20464 | 47 DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit \ |
al@20464 | 48 dbus util-linux-blkid dbus-helper parted libdevmapper glib \ |
al@20464 | 49 util-linux-mount lsof" |
al@20464 | 50 ;; |
al@20464 | 51 *-dev) |
al@20464 | 52 mkdir -p $fs/usr/share |
al@20464 | 53 cp -a $install/usr/share/pkgconfig $fs/usr/share |
al@20464 | 54 ;; |
al@20464 | 55 esac |
monghitri@14135 | 56 } |