CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: initial import (verified compilation)
[attic/ports/opt-cross.git] / wmpower / Pkgfile
CommitLineData
d1e0f751
JB
1# Description: Dockapp for linux allowing the user to graphically see (and set) the power management status of his laptop
2# URL: http://wmpower.sourceforge.net/
3# Packager: Jose V Beneyto, sepen at crux dot nu
4# Maintainer: Jose V Beneyto, sepen at crux dot nu
38b50d66 5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
d1e0f751
JB
6# Depends on: xorg-libx11
7
8name=wmpower
9version=0.4.3
10release=1
11source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
12
13build() {
14 cd $name-$version
15
16 export MY_CFLAGS="$CFLAGS -I$CLFS/usr/include"
17 sed -i configure -e 's|HW=.*|HW=ARM|'
18 sed -i src/power_management/Makefile.in -e 's|AM_CFLAGS = .*|AM_CFLAGS =|'
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr
23
24 make
25 make DESTDIR=$PKG install
26}
27