Commit | Line | Data |
---|---|---|
142df725 JB |
1 | # Description: The Pek Window Manager |
2 | # URL: http://pekwm.org | |
3 | # Maintainer: Rene Lengwinat rugek at dirtyhack dot net | |
38b50d66 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
97450493 | 5 | # Depends on: imlib2 libpcre xorg-libxft xorg-libxrandr |
142df725 JB |
6 | |
7 | name=pekwm | |
97450493 | 8 | version=0.1.11 |
142df725 JB |
9 | release=1 |
10 | source=(http://pekwm.org/projects/3/files/pekwm-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | ||
15 | export DEFAULT_LIBS="-L$CLFS/usr/lib" | |
16 | export DEFAULT_CFLAGS="-I$CLFS/usr/include" | |
17 | export xft_LIBS="$DEFAULT_LIBS -lXft -lXrender -lfontconfig -lfreetype -lX11" | |
18 | export xft_CFLAGS="$DEFAULT_FLAGS -I$CLFS/usr/include/freetype2" | |
19 | export xrandr_LIBS="$DEFAULT_LIBS -lXrandr" | |
20 | export xrandr_CFLAGS="$DEFAULT_CFLAGS" | |
21 | export libpng12_LIBS="$DEFAULT_LIBS -lpng12" | |
22 | export libpng12_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/libpng12" | |
23 | ||
24 | ./configure --build=$CHOST \ | |
25 | --host=$CTARGET \ | |
26 | --prefix=/usr \ | |
142df725 JB |
27 | --enable-pcre \ |
28 | --mandir=/usr/man \ | |
97450493 JB |
29 | --disable-xinerama \ |
30 | --with-x | |
142df725 JB |
31 | |
32 | make | |
33 | make DESTDIR=$PKG install | |
34 | } |