wok-next annotate udisks2/receipt @ rev 20388
Up clutter (v2), cookutils (1016), get-rar (171201)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 01 15:14:07 2017 +0200 (2017-12-01) |
parents | f463de72afe3 |
children | 555cf3b9f1ff |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
monghitri@14125 | 2 |
monghitri@14125 | 3 PACKAGE="udisks2" |
al@19957 | 4 VERSION="2.7.2" |
monghitri@14125 | 5 CATEGORY="system-tools" |
al@17280 | 6 SHORT_DESC="D-Bus service to access and manipulate storage devices" |
monghitri@14125 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19536 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/" |
al@19957 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/udisks2.html" |
al@19957 | 11 |
al@17280 | 12 TARBALL="udisks-$VERSION.tar.bz2" |
al@19957 | 13 WGET_URL="https://github.com/storaged-project/udisks/releases/download/udisks-$VERSION/$TARBALL" |
monghitri@14125 | 14 |
al@19957 | 15 BUILD_DEPENDS="docbook-xsl gtk-doc gobject-introspection-dev libgudev-dev \ |
al@19957 | 16 libblockdev-dev polkit-dev libatasmart-dev acl-dev intltool" |
al@19957 | 17 SPLIT="udisks2-dev" |
monghitri@14125 | 18 |
al@19957 | 19 compile_rules() { |
monghitri@14125 | 20 ./configure \ |
monghitri@14125 | 21 --sysconfdir=/etc \ |
monghitri@14125 | 22 --localstatedir=/var \ |
al@19957 | 23 --disable-static \ |
al@19536 | 24 --enable-fhs-media \ |
al@19536 | 25 $CONFIGURE_ARGS && |
al@19957 | 26 make && make install || return 1 |
al@19957 | 27 |
al@19957 | 28 # mount to "/media" instead of "/media/<user>" |
al@19957 | 29 mkdir -p $install/etc/udev/rules.d/ |
al@19957 | 30 cp $stuff/99-udisks2.rules $install/etc/udev/rules.d/ |
monghitri@14125 | 31 } |
monghitri@14125 | 32 |
al@19957 | 33 genpkg_rules() { |
al@19957 | 34 case $PACKAGE in |
al@19957 | 35 udisks2) |
al@19957 | 36 copy @std |
al@19957 | 37 DEPENDS="libatasmart libgudev polkit" |
al@19957 | 38 ;; |
al@19957 | 39 *-dev) |
al@19957 | 40 copy @dev |
al@19957 | 41 DEPENDS="udisks2 glib-dev" |
al@19957 | 42 ;; |
al@19957 | 43 esac |
monghitri@14125 | 44 } |