From: Jose V Beneyto Date: Thu, 14 Jan 2010 08:21:24 +0000 (+0100) Subject: pypanel: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=b648b2699837646cbcc1a170836721b1b37795c1;p=attic%2Fports%2Fopt-cross.git pypanel: initial import (verified compilation) --- diff --git a/pypanel/.footprint b/pypanel/.footprint new file mode 100644 index 0000000..2663ffc --- /dev/null +++ b/pypanel/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pypanel +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python2.6/ +drwxr-xr-x root/root usr/lib/python2.6/site-packages/ +-rwxr-xr-x root/root usr/lib/python2.6/site-packages/ppmodule.so +drwxr-xr-x root/root usr/lib/python2.6/site-packages/pypanel/ +-rw-r--r-- root/root usr/lib/python2.6/site-packages/pypanel/ppicon.png +-rw-r--r-- root/root usr/lib/python2.6/site-packages/pypanel/pypanelrc diff --git a/pypanel/.md5sum b/pypanel/.md5sum new file mode 100644 index 0000000..965af23 --- /dev/null +++ b/pypanel/.md5sum @@ -0,0 +1 @@ +f1f9a2ed80be72ab36e748833618daba PyPanel-2.4.tar.gz diff --git a/pypanel/Pkgfile b/pypanel/Pkgfile new file mode 100644 index 0000000..fc9da3a --- /dev/null +++ b/pypanel/Pkgfile @@ -0,0 +1,28 @@ +# Description: A lightweight panel/taskbar for X11 +# URL: http://pypanel.sourceforge.net +# Packager: Johannes Winkelmann, jw at tks6 dot net +# Maintainer: Johannes Winkelmann, jw at tks6 dot net +# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org +# Depends on: python-xlib imlib2 + +name=pypanel +version=2.4 +release=1 +source=(http://dl.sourceforge.net/sourceforge/pypanel/PyPanel-$version.tar.gz) + +build() { + cd PyPanel-$version + + $CC $CFLAGS -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DIMLIB2_FIX=1 \ + -I$CLFS/usr/X11R6/include -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/python2.6 \ + -c ppmodule.c -o ppmodule.o -Wall + + $CC $CFLAGS -pthread -shared ppmodule.o -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg \ + -lfreetype -lz -lXft -lImlib2 -lX11 -lXext -ldl -lm -lpython2.6 \ + -o ppmodule.so + + install -D -m 0755 ppmodule.so $PKG/usr/lib/python2.6/site-packages/ppmodule.so + install -D -m 0755 $name $PKG/usr/bin/$name + install -d $PKG/usr/lib/python2.6/site-packages/pypanel + install -m 0644 ppicon.png pypanelrc $PKG/usr/lib/python2.6/site-packages/$name +}