wok-6.x view udisks/receipt @ rev 13092

get-wifi-firmware: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 26 12:04:16 2012 +0200 (2012-06-26)
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 }