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
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
5 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6 # Depends on: xorg-libxft
7
8 name=torsmo
9 version=0.18
10 release=1
11 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
12
13 build() {
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 }