void-packages/srcpkgs/upower/upower-devel.template

29 lines
813 B
Text
Raw Normal View History

# Template file for 'upower-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains the files needed for developing applications
that use UPower."
Add_dependency run pkg-config
Add_dependency run intltool
Add_dependency run libxslt
Add_dependency run docbook-xsl
Add_dependency run libusb-compat-devel
Add_dependency run glib-devel
Add_dependency run libgudev-devel
Add_dependency run dbus-devel
Add_dependency run dbus-glib-devel
Add_dependency run polkit-devel
Add_dependency run upower
do_install()
{
2010-05-12 04:51:57 +00:00
mkdir -p ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
2010-05-12 04:51:57 +00:00
mv ${SRCPKGDESTDIR}/usr/share/gir-1.0 ${DESTDIR}/usr/share
}