blob: 40dd1b60c57aa901d14274857aaec1918f1497e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Carlo Landmeter
# Maintainer:
pkgname=udisks
pkgver=1.0.1
pkgrel=0
pkgdesc="Disk Management Service"
url="http://www.freedesktop.org/wiki/Software/udisks"
license="GPL"
depends=""
makedepends="glib-dev polkit-dev parted-dev udev-dev sg3_utils-dev
dbus-dev dbus-glib-dev lvm2-dev pkgconfig libatasmart-dev
intltool eggdbus-dev expat-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz
lvm.patch
no-floppy.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
patch -p1 -i "$srcdir"/lvm.patch || return 1
patch -p1 -i "$srcdir"/no-floppy.patch || return 1
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libexecdir=/usr/lib/udisks \
--disable-static \
--disable-nls
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="3654d994eb43b80c8c2d04fe03da30c4 udisks-1.0.1.tar.gz
d626d05508648cda8afdae71ee46e9e0 lvm.patch
f5a22eca24ec82a87dfa2374e4524b09 no-floppy.patch"
|