wok-next annotate udisks2/receipt @ rev 21081
Tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 11:36:03 2018 +0200 (2018-12-24) |
parents | d5aab818505e |
children | 0f2575775b2d |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
monghitri@14125 | 2 |
monghitri@14125 | 3 PACKAGE="udisks2" |
al@20905 | 4 VERSION="2.7.7" |
monghitri@14125 | 5 CATEGORY="system-tools" |
al@17280 | 6 SHORT_DESC="D-Bus service to access and manipulate storage devices" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19536 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/udisks/" |
al@20905 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 | 17 SPLIT="$PACKAGE-dev" |
monghitri@14125 | 18 |
al@21081 | 19 DEPENDS_std="acl glib libatasmart libblockdev libgudev polkit util-linux-mount" |
al@21081 | 20 DEPENDS_dev="$PACKAGE glib-dev" |
al@21081 | 21 |
al@19957 | 22 compile_rules() { |
monghitri@14125 | 23 ./configure \ |
al@19957 | 24 --disable-static \ |
al@19536 | 25 --enable-fhs-media \ |
al@19536 | 26 $CONFIGURE_ARGS && |
al@20604 | 27 fix libtool && |
al@20534 | 28 make && |
al@20534 | 29 make install || return 1 |
al@19957 | 30 |
al@19957 | 31 # mount to "/media" instead of "/media/<user>" |
al@19957 | 32 mkdir -p $install/etc/udev/rules.d/ |
al@19957 | 33 cp $stuff/99-udisks2.rules $install/etc/udev/rules.d/ |
monghitri@14125 | 34 } |