aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-28 07:35:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-28 08:04:00 +0000
commit222cdf4357c7c3656d3e4e6c5cdbf8c3ebfd37ae (patch)
tree4e6d2f1790d15bf5cd7825239159ba21fc74a336
parent4786c5d2e74ac2458d433e0e5ce9f5ba86d8a3e2 (diff)
downloadaports-222cdf4357c7c3656d3e4e6c5cdbf8c3ebfd37ae.tar.bz2
aports-222cdf4357c7c3656d3e4e6c5cdbf8c3ebfd37ae.tar.xz
main/udisks: enable man pages and rebuild against lvm2 with applib
-rw-r--r--main/udisks/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/main/udisks/APKBUILD b/main/udisks/APKBUILD
index 133c498ed5..106629d84a 100644
--- a/main/udisks/APKBUILD
+++ b/main/udisks/APKBUILD
@@ -2,23 +2,29 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udisks
pkgver=1.0.2
-pkgrel=0
+pkgrel=1
pkgdesc="Disk Management Service"
url="http://www.freedesktop.org/wiki/Software/udisks"
-arch="x86 x86_64"
+arch="all"
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"
+ intltool eggdbus-dev expat-dev docbook-xsl libxslt"
install=
subpackages="$pkgname-dev $pkgname-doc"
-source="http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"
+source="http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz
+ "
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
@@ -29,7 +35,7 @@ build() {
--infodir=/usr/share/info \
--libexecdir=/usr/lib/udisks \
--disable-static \
- --disable-nls
+ || return 1
make || return 1
}