From 3009b1b5a774e8335be56d03374f06a8ad2e287f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 13 Apr 2010 16:17:45 +0200 Subject: [PATCH] Added udisks-1.0.1 build template. --HG-- extra : convert_revision : c4d6fa0bdc403033a901604b46e139515b094500 --- srcpkgs/udisks/depends | 2 ++ srcpkgs/udisks/template | 51 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 srcpkgs/udisks/depends create mode 100644 srcpkgs/udisks/template diff --git a/srcpkgs/udisks/depends b/srcpkgs/udisks/depends new file mode 100644 index 0000000000..0dcb50045f --- /dev/null +++ b/srcpkgs/udisks/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.0.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/udisks/template b/srcpkgs/udisks/template new file mode 100644 index 0000000000..3b0031a929 --- /dev/null +++ b/srcpkgs/udisks/template @@ -0,0 +1,51 @@ +# Template file for 'udisks' +pkgname=udisks +version=1.0.1 +distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--disable-static --localstatedir=/var --enable-lvm2" +short_desc="Disk Management Service" +maintainer="Juan RP " +checksum=d9bf1ab56667dfa12e99461c503736e3964cf94dd41f30a1229a0e173429b841 +long_desc=" + UPower is an abstraction for enumerating power devices, listening to device + events and querying history and statistics. Any application or service on + the system can access the org.freedesktop.UPower service via the system + message bus. Some operations (such as suspending the system) are restricted + using PolicyKit." + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run device-mapper +Add_dependency run libudev +Add_dependency run libparted +Add_dependency run libatasmart +Add_dependency run polkit +Add_dependency run dbus-glib +Add_dependency run dbus-libs +Add_dependency run libgudev +Add_dependency run sg3_utils +Add_dependency run liblvm2app + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build libxslt +Add_dependency build docbook-xsl +Add_dependency build liblvm2app-devel +Add_dependency build glib-devel +Add_dependency build device-mapper-devel +Add_dependency build libudev-devel +Add_dependency build libparted-devel +Add_dependency build libatasmart-devel +Add_dependency build polkit-devel +Add_dependency build dbus-glib-devel +Add_dependency build dbus-devel +Add_dependency build libgudev-devel +Add_dependency build sg3_utils-devel + +Add_dependency full udev + +post_install() +{ + mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib +}