wok-6.x rev 14135
add udisks : it contains udisks1, maybe useful to pcmanfm or something else
author | ernia <monghitri@aruba.it> |
---|---|
date | Thu Feb 28 20:43:23 2013 +0000 (2013-02-28) |
parents | cd5ad6e75ddf |
children | 8c638b08b0a8 |
files | udisks-dev/receipt udisks/receipt udisks/stuff/org.freedesktop.udisks.pkla |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/udisks-dev/receipt Thu Feb 28 20:43:23 2013 +0000 1.3 @@ -0,0 +1,16 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="udisks-dev" 1.7 +VERSION="1.0.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Udisks devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="udisks" 1.12 +WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/share 1.18 + cp -a $install/usr/share/pkgconfig $fs/usr/share 1.19 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/udisks/receipt Thu Feb 28 20:43:23 2013 +0000 2.3 @@ -0,0 +1,50 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="udisks" 2.7 +VERSION="1.0.4" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="D-Bus interfaces to query and manipulate storage devices." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" 2.13 +WGET_URL="http://hal.freedesktop.org/releases/$TARBALL" 2.14 +DEPENDS="libatasmart udev libsgutils2 sg3_utils libgudev polkit dbus util-linux-blkid \ 2.15 +dbus-helper parted libdevmapper libgio util-linux-mount lsof" 2.16 +BUILD_DEPENDS="libatasmart-dev udev-dev sg3_utils-dev libgudev-dev \ 2.17 +polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev parted-dev libdevmapper-dev \ 2.18 +util-linux-blkid-dev" 2.19 + 2.20 +# Rules to configure and make the package. 2.21 +compile_rules() 2.22 +{ 2.23 + cd $src 2.24 + ./configure \ 2.25 + --prefix=/usr \ 2.26 + --libexecdir=/usr/lib/udisks \ 2.27 + --sysconfdir=/etc \ 2.28 + --localstatedir=/var \ 2.29 + --disable-static \ 2.30 + --disable-remote-access \ 2.31 + --disable-gtk-doc-html \ 2.32 + $CONFIGURE_ARGS && 2.33 + make && make install 2.34 +} 2.35 + 2.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.37 +genpkg_rules() 2.38 +{ 2.39 + mkdir -p $fs/etc/polkit-1/localauthority/90-mandatory.d \ 2.40 + $fs/usr/lib/udev $fs/usr/share $fs/etc/udev 2.41 + cp -a $install/etc/dbus-1 $fs/etc 2.42 + cp -a $install/lib/udev/rules.d $fs/etc/udev 2.43 + cp -a $install/lib/udev/udisks* $fs/usr/lib/udev/ 2.44 + cp -a $install/usr/bin $fs/usr 2.45 + cp -a $install/sbin $fs 2.46 + cp -a $install/usr/lib/udisks $fs/usr/lib 2.47 + cp -a $install/usr/share/*-1 $fs/usr/share 2.48 + #we don't have consolekit and don't want systemd so we need 2.49 + #a rule to give disk group complete access to udisks2 2.50 + #methods without password. 2.51 + cp $stuff/org.freedesktop.udisks.pkla \ 2.52 + $fs/etc/polkit-1/localauthority/90-mandatory.d 2.53 +}