CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dropbear: moved from core collection
[attic/ports/opt-cross.git] / torsmo / Pkgfile
CommitLineData
1922a620
JB
1# Description: Tyopoyta ORvelo System MOnitor.
2# URL: http://torsmo.sourceforge.net/
3# Maintainer: Jose V Beneyto, sepen at crux dot nu
4# Packager: Jose V Beneyto, sepen at crux dot nu
38b50d66 5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
1922a620
JB
6# Depends on: xorg-libxft
7
8name=torsmo
9version=0.18
10release=1
11source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
12
13build() {
14 cd $name-$version
15
16 export XFT_LIBS="-L$CLFS/usr/lib -lXft -lXrender -lfontconfig -lfreetype -lz -lX11"
17
18 ./configure --build=$CHOST \
19 --host=$CTARGET \
20 --prefix=/usr \
21 --x-includes=$CLFS/usr/include/X11 \
22 --x-libraries=$CLFS/usr/lib/X11 \
23 --enable-xft \
24 --enable-proc-uptime \
25 --with-x \
26 --cache-file=config.cache
27
28 sed -i Makefile -e 's|help2man -h -h -v -V|echo|'
29 make \
30 CFLAGS="$CFLAGS" \
31 LDFLAGS="$LDFLAGS" \
32 INCLUDES="-I$CLFS/usr/include -I$CLFS/usr/include/freetype2"
33
34 make DESTDIR=$PKG install
35 install -D -m 0644 $name.1 $PKG/usr/man/man1/$name.1
36}