aboutsummaryrefslogtreecommitdiffstats
path: root/main/udisks/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-26 11:16:41 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-27 12:23:23 +0000
commit1ede63229bc0cd4ad08b39b6d9906abd0a7337f9 (patch)
tree4738d4ef9b0568fefd962ae2b242be00b26aae4f /main/udisks/APKBUILD
parent9ec3b96eefd2b16ea74dd96eb0e21c607b409e84 (diff)
downloadaports-1ede63229bc0cd4ad08b39b6d9906abd0a7337f9.tar.bz2
aports-1ede63229bc0cd4ad08b39b6d9906abd0a7337f9.tar.xz
main/udisks: new apkbuild
(cherry picked from commit bcd4f6f505ca3c95fc7d3a41930623dd036c345a)
Diffstat (limited to 'main/udisks/APKBUILD')
-rw-r--r--main/udisks/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/udisks/APKBUILD b/main/udisks/APKBUILD
new file mode 100644
index 0000000000..40dd1b60c5
--- /dev/null
+++ b/main/udisks/APKBUILD
@@ -0,0 +1,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"