From d1e0f7516dd977c0b199beb12a1b37d6a2bd1296 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Tue, 12 Jan 2010 15:24:20 +0100 Subject: [PATCH] wmpower: initial import (verified compilation) --- wmpower/.footprint | 3 +++ wmpower/.md5sum | 1 + wmpower/Pkgfile | 27 +++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 wmpower/.footprint create mode 100644 wmpower/.md5sum create mode 100644 wmpower/Pkgfile diff --git a/wmpower/.footprint b/wmpower/.footprint new file mode 100644 index 0000000..35e261c --- /dev/null +++ b/wmpower/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/wmpower diff --git a/wmpower/.md5sum b/wmpower/.md5sum new file mode 100644 index 0000000..9911413 --- /dev/null +++ b/wmpower/.md5sum @@ -0,0 +1 @@ +22be08382dc408f3b925a198e46dd0be wmpower-0.4.3.tar.bz2 diff --git a/wmpower/Pkgfile b/wmpower/Pkgfile new file mode 100644 index 0000000..77b400f --- /dev/null +++ b/wmpower/Pkgfile @@ -0,0 +1,27 @@ +# Description: Dockapp for linux allowing the user to graphically see (and set) the power management status of his laptop +# URL: http://wmpower.sourceforge.net/ +# Packager: Jose V Beneyto, sepen at crux dot nu +# Maintainer: Jose V Beneyto, sepen at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: xorg-libx11 + +name=wmpower +version=0.4.3 +release=1 +source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2) + +build() { + cd $name-$version + + export MY_CFLAGS="$CFLAGS -I$CLFS/usr/include" + sed -i configure -e 's|HW=.*|HW=ARM|' + sed -i src/power_management/Makefile.in -e 's|AM_CFLAGS = .*|AM_CFLAGS =|' + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr + + make + make DESTDIR=$PKG install +} + -- 2.26.2