CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed major update for Arch-Maintainer's email (all ports)
[attic/ports/opt-cross.git] / blackbox / Pkgfile
1 # Description: Fast and small window manager
2 # URL: http://blackboxwm.sourceforge.net
3 # Maintainer: Johannes Winkelmann jw at smts dot ch
4 # Arch Maintainer System Team devel at crux-arm dot nu
5 # Depends on: xorg-libxext xorg-libxft
6
7 name=blackbox
8 version=0.70.1
9 release=1
10 source=(http://dl.sourceforge.net/sourceforge/blackboxwm/$name-$version.tar.bz2
11 $name-$version-include-fix.diff \
12 $name-$version.cross_compile.patch)
13
14
15 build () {
16 cd $name-$version
17
18 patch -p1 -i $SRC/$name-$version-include-fix.diff
19 patch -p1 -i $SRC/$name-$version.cross_compile.patch
20
21 export CPPFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions -I$CLFS/usr/include/freetype2"
22 export LDFLAGS="-L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules -lXext -lXft -lXrender -lfontconfig -lfreetype -lX11"
23
24 ./configure --build=$CHOST \
25 --host=$CTARGET \
26 --prefix=/usr \
27 --disable-nls
28
29 make
30 make DESTDIR=$PKG install
31 }