Commit | Line | Data |
---|---|---|
b648b269 JB |
1 | # Description: A lightweight panel/taskbar for X11 |
2 | # URL: http://pypanel.sourceforge.net | |
3 | # Packager: Johannes Winkelmann, jw at tks6 dot net | |
4 | # Maintainer: Johannes Winkelmann, jw at tks6 dot net | |
5 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
6 | # Depends on: python-xlib imlib2 | |
7 | ||
8 | name=pypanel | |
9 | version=2.4 | |
10 | release=1 | |
11 | source=(http://dl.sourceforge.net/sourceforge/pypanel/PyPanel-$version.tar.gz) | |
12 | ||
13 | build() { | |
14 | cd PyPanel-$version | |
15 | ||
16 | $CC $CFLAGS -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DIMLIB2_FIX=1 \ | |
abb1f9c4 | 17 | -I$CLFS/usr/include -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/python2.6 \ |
b648b269 JB |
18 | -c ppmodule.c -o ppmodule.o -Wall |
19 | ||
20 | $CC $CFLAGS -pthread -shared ppmodule.o -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg \ | |
21 | -lfreetype -lz -lXft -lImlib2 -lX11 -lXext -ldl -lm -lpython2.6 \ | |
22 | -o ppmodule.so | |
23 | ||
24 | install -D -m 0755 ppmodule.so $PKG/usr/lib/python2.6/site-packages/ppmodule.so | |
25 | install -D -m 0755 $name $PKG/usr/bin/$name | |
26 | install -d $PKG/usr/lib/python2.6/site-packages/pypanel | |
27 | install -m 0644 ppicon.png pypanelrc $PKG/usr/lib/python2.6/site-packages/$name | |
28 | } |