wok-current rev 12547
Add udisk (1.94.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 26 14:14:29 2012 +0200 (2012-04-26) |
parents | bf6520485b0b |
children | ad4f8bdcc3d6 |
files | udisks-dev/receipt udisks/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/udisks-dev/receipt Thu Apr 26 14:14:29 2012 +0200 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="udisks-dev" 1.7 +VERSION="1.94.0" 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/lib 1.18 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.19 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.20 + cp -a $install/usr/include $fs/usr 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/udisks/receipt Thu Apr 26 14:14:29 2012 +0200 2.3 @@ -0,0 +1,43 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="udisks" 2.7 +VERSION="1.94.0" 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.bz2" 2.12 +WEB_SITE="http://www.freedesktop.org/wiki/Software/udisks" 2.13 +WGET_URL="http://udisks.freedesktop.org/releases/$TARBALL" 2.14 + 2.15 +DEPENDS="expat libatasmart libxslt udev libgudev polkit dbus" 2.16 +BUILD_DEPENDS="expat-dev libatasmart-dev libxslt-dev udev-dev libgudev-dev \ 2.17 +polkit-dev dbus-dev dbus-glib-dev pcre-dev dbus-dev" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + ./configure \ 2.24 + --sysconfdir=/etc \ 2.25 + --localstatedir=/var \ 2.26 + --disable-static \ 2.27 + --disable-gtk-doc \ 2.28 + $CONFIGURE_ARGS && 2.29 + # Build fails when build doc even with docbook-xsl installed. 2.30 + sed -i s'/SUBDIRS =.*/SUBDIRS = data udisks src tools po/' Makefile && 2.31 + make && make install 2.32 +} 2.33 + 2.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.35 +genpkg_rules() 2.36 +{ 2.37 + mkdir -p $fs/etc $fs/usr/lib $fs/usr/share 2.38 + cp -a $install/etc/dbus-1 $fs/etc 2.39 + cp -a $install/lib/udev $fs/etc 2.40 + cp -a $install/usr/bin $fs/usr 2.41 + cp -a $install/usr/sbin $fs/usr 2.42 + cp -a $install/usr/lib/udisks2 $fs/usr/lib 2.43 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.44 + cp -a $install/usr/share/*-1 $fs/usr/share 2.45 + cp -a $install/var $fs 2.46 +}