--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/wmpower
--- /dev/null
+# 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
+}
+