diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-16 10:24:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-16 10:31:49 +0000 |
commit | 173c08dc0c366537fc72da333566cae3572a2e0b (patch) | |
tree | 72c50b7dd7edf13175c65fe9297e1bf6b95559ad /main/dbus/APKBUILD | |
parent | edade82b24894c081d7fe8e0bd4cc02e4909b8d1 (diff) | |
download | aports-173c08dc0c366537fc72da333566cae3572a2e0b.tar.bz2 aports-173c08dc0c366537fc72da333566cae3572a2e0b.tar.xz |
main/dbus: split out libs and x11 package
Diffstat (limited to 'main/dbus/APKBUILD')
-rw-r--r-- | main/dbus/APKBUILD | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD index 81b4c52772..66a75b8bb5 100644 --- a/main/dbus/APKBUILD +++ b/main/dbus/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dbus pkgver=1.4.16 -pkgrel=1 +pkgrel=2 pkgdesc="Freedesktop.org message bus system" url="http://www.freedesktop.org/Software/dbus" pkggroups="messagebus" arch="all" license="GPL custom" -subpackages="$pkgname-dev $pkgname-doc" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-x11" triggers="$pkgname.trigger=/etc/dbus-1/system.d" depends= makedepends="expat-dev libx11-dev pkgconfig util-linux-dev" @@ -41,5 +41,19 @@ package() { rm "$pkgdir"/usr/lib/*.la || return 1 install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus } + +libs() { + pkgdesc="Libraries for acces D-BUS" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/ +} + +x11() { + pkgdesc="X11-requiring add-ons for D-BUS" + depends="dbus=$pkgver-r$pkgrel" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/dbus-launch "$subpkgdir"/usr/bin/ +} + md5sums="44a2a10678e7e50460879c3eb4453a65 dbus-1.4.16.tar.gz bc835765907698a95da8d8e5bf199378 dbus.initd" |