wok-current view udisks/receipt @ rev 13899

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