Added upower-0.9.2 build template (gnome-2.30 here I go!)

--HG--
extra : convert_revision : f5965c49d74cd0b7ef4b43b58cff0619bd40d2e9
This commit is contained in:
Juan RP 2010-04-10 18:06:10 +02:00
parent 72d789ddf2
commit 8d09c3f65a
5 changed files with 69 additions and 0 deletions

1
srcpkgs/upower-devel Symbolic link
View file

@ -0,0 +1 @@
upower

2
srcpkgs/upower/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=0.9.2"
api_depends="${abi_depends}"

37
srcpkgs/upower/template Normal file
View file

@ -0,0 +1,37 @@
# Template file for 'upower'
pkgname=upower
version=0.9.2
distfiles="http://upower.freedesktop.org/releases/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--localstatedir=/var --with-backend=linux"
short_desc="Abstraction for enumerating power devices"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4a0532fbda7afee29984f7b96b3b3114c68b0525278beb10c98ef287ca5a8377
long_desc="
UPower is an abstraction for enumerating power devices, listening to device
events and querying history and statistics. Any application or service on
the system can access the org.freedesktop.UPower service via the system
message bus. Some operations (such as suspending the system) are restricted
using PolicyKit."
subpackages="upower-devel"
Add_dependency run glibc
Add_dependency run libusb-compat
Add_dependency run glib
Add_dependency run libgudev
Add_dependency run dbus
Add_dependency run dbus-glib
Add_dependency run dbus-libs
Add_dependency run polkit
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build libxslt
Add_dependency build docbook-xsl
Add_dependency build libusb-compat-devel
Add_dependency build glib-devel
Add_dependency build libgudev-devel
Add_dependency build dbus-devel
Add_dependency build dbus-glib-devel
Add_dependency build polkit-devel
Add_dependency full udev

View file

@ -0,0 +1,27 @@
# 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()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.{a,so} ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View file

@ -513,3 +513,5 @@ liblftp-jobs.so lftp
liblftp-tasks.so lftp liblftp-tasks.so lftp
liblftp-network.so lftp liblftp-network.so lftp
liblftp-pty.so lftp liblftp-pty.so lftp
libupower-glib.so upower upower-devel
libdevkit-power-gobject.so upower upower-devel