From 00d8be59d0761f435e76263e6bb27c8d1de3d2a5 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 14 Nov 2010 14:40:29 +0100 Subject: [PATCH] upower: add metafile support, cleanups Signed-off-by: Stephan Raue --- packages/sysutils/upower/build | 7 ------- packages/sysutils/upower/install | 7 ------- packages/sysutils/upower/meta | 14 ++++++++++++++ packages/sysutils/upower/url | 1 - 4 files changed, 14 insertions(+), 15 deletions(-) create mode 100644 packages/sysutils/upower/meta delete mode 100644 packages/sysutils/upower/url diff --git a/packages/sysutils/upower/build b/packages/sysutils/upower/build index d085b3a555..449c424d59 100755 --- a/packages/sysutils/upower/build +++ b/packages/sysutils/upower/build @@ -2,13 +2,6 @@ . config/options $1 -$SCRIPTS/build toolchain -$SCRIPTS/build udev -$SCRIPTS/build glib -$SCRIPTS/build dbus -$SCRIPTS/build dbus-glib -$SCRIPTS/build polkit - cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ diff --git a/packages/sysutils/upower/install b/packages/sysutils/upower/install index b03b420288..5e9298dcf7 100755 --- a/packages/sysutils/upower/install +++ b/packages/sysutils/upower/install @@ -2,13 +2,6 @@ . config/options $1 -$SCRIPTS/install udev -$SCRIPTS/install glib -$SCRIPTS/install dbus -$SCRIPTS/install dbus-glib -$SCRIPTS/install polkit -$SCRIPTS/install pm-utils - mkdir -p $INSTALL/etc/UPower cp $PKG_BUILD/etc/UPower.conf $INSTALL/etc/UPower diff --git a/packages/sysutils/upower/meta b/packages/sysutils/upower/meta new file mode 100644 index 0000000000..bf6a516b4a --- /dev/null +++ b/packages/sysutils/upower/meta @@ -0,0 +1,14 @@ +PKG_NAME="upower" +PKG_VERSION="0.9.7" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://upower.freedesktop.org/" +PKG_URL="http://upower.freedesktop.org/releases/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="udev glib dbus dbus-glib polkit pm-utils" +PKG_BUILD_DEPENDS="toolchain udev glib dbus dbus-glib polkit" +PKG_PRIORITY="optional" +PKG_SECTION="system" +PKG_SHORTDESC="upower: a modular hardware abstraction layer designed for use in Linux systems that is designed to simplify device management." +PKG_LONGDESC="Upower is a modular hardware abstraction layer designed for use in Linux systems that is designed to simplify device management and replace the current monolithic Linux HAL. Upower includes the ability to enumerate system devices and send notifications when hardware is added or removed from the computer system." +PKG_IS_ADDON="no" diff --git a/packages/sysutils/upower/url b/packages/sysutils/upower/url deleted file mode 100644 index 8273050bec..0000000000 --- a/packages/sysutils/upower/url +++ /dev/null @@ -1 +0,0 @@ -http://upower.freedesktop.org/releases/upower-0.9.7.tar.bz2