CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
wmpower: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Tue, 12 Jan 2010 14:24:20 +0000 (15:24 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 12 Jan 2010 14:24:20 +0000 (15:24 +0100)
wmpower/.footprint [new file with mode: 0644]
wmpower/.md5sum [new file with mode: 0644]
wmpower/Pkgfile [new file with mode: 0644]

diff --git a/wmpower/.footprint b/wmpower/.footprint
new file mode 100644 (file)
index 0000000..35e261c
--- /dev/null
@@ -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 (file)
index 0000000..9911413
--- /dev/null
@@ -0,0 +1 @@
+22be08382dc408f3b925a198e46dd0be  wmpower-0.4.3.tar.bz2
diff --git a/wmpower/Pkgfile b/wmpower/Pkgfile
new file mode 100644 (file)
index 0000000..77b400f
--- /dev/null
@@ -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
+}
+