wok-next annotate udisks/receipt @ rev 13605

Up: kmod (11)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Nov 10 19:54:06 2012 +0100 (2012-11-10)
parents
children df1ef8b7ecf0
rev   line source
pankso@12547 1 # SliTaz package receipt.
pankso@12547 2
pankso@12547 3 PACKAGE="udisks"
pankso@12547 4 VERSION="1.94.0"
pankso@12547 5 CATEGORY="system-tools"
pankso@12547 6 SHORT_DESC="D-Bus interfaces to query and manipulate storage devices."
pankso@12547 7 MAINTAINER="pankso@slitaz.org"
pankso@12547 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@12547 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks"
pankso@12547 10 WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL"
pankso@12547 11
pankso@12547 12 DEPENDS="expat libatasmart libxslt udev libgudev polkit dbus"
pankso@12547 13 BUILD_DEPENDS="expat-dev libatasmart-dev libxslt-dev udev-dev libgudev-dev \
pankso@12547 14 polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev"
pankso@12547 15
pankso@12547 16 # Rules to configure and make the package.
pankso@12547 17 compile_rules()
pankso@12547 18 {
pankso@12547 19 cd $src
pankso@12547 20 ./configure \
pankso@12547 21 --sysconfdir=/etc \
pankso@12547 22 --localstatedir=/var \
pankso@12547 23 --disable-static \
pankso@12547 24 --disable-gtk-doc \
pankso@12547 25 $CONFIGURE_ARGS &&
pankso@12547 26 # Build fails when build doc even with docbook-xsl installed.
pankso@12547 27 sed -i s'/SUBDIRS =.*/SUBDIRS = data udisks src tools po/' Makefile &&
pankso@12547 28 make && make install
pankso@12547 29 }
pankso@12547 30
pankso@12547 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12547 32 genpkg_rules()
pankso@12547 33 {
pankso@12547 34 mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
pankso@12547 35 cp -a $install/etc/dbus-1 $fs/etc
pankso@12547 36 cp -a $install/lib/udev $fs/etc
pankso@12547 37 cp -a $install/usr/bin $fs/usr
pankso@12547 38 cp -a $install/usr/sbin $fs/usr
pankso@12547 39 cp -a $install/usr/lib/udisks2 $fs/usr/lib
pankso@12547 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12547 41 cp -a $install/usr/share/*-1 $fs/usr/share
pankso@12547 42 cp -a $install/var $fs
pankso@12547 43 }