dbus: move docs to -devel subpkg.

This commit is contained in:
Juan RP 2012-01-30 09:22:27 +01:00
parent a1be6aa26c
commit d3967b3a19
2 changed files with 9 additions and 10 deletions

View file

@ -5,6 +5,8 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run pkg-config
Add_dependency run expat-devel
Add_dependency run libSM-devel
@ -12,12 +14,10 @@ Add_dependency run libICE-devel
Add_dependency run libX11-devel
Add_dependency run dbus-libs
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/dbus-* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
do_install() {
vmove usr/include usr
vmove "usr/lib/dbus-*" usr/lib
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
vmove usr/share/doc usr/share
}

View file

@ -1,7 +1,7 @@
# Template file for 'dbus'
pkgname=dbus
version=1.4.16
revision=4
revision=5
homepage="http://dbus.freedesktop.org/"
distfiles="${homepage}/releases/dbus/$pkgname-$version.tar.gz"
build_style=gnu-configure
@ -29,7 +29,6 @@ subpackages="dbus-devel dbus-libs dbus-x11"
systemd_services="dbus.service off"
system_accounts="dbus"
Add_dependency build coreutils
Add_dependency build pkg-config
Add_dependency build expat-devel