From 9dc357f80aa933a4e351aafe080886c32171ae5e Mon Sep 17 00:00:00 2001 From: James Mills Date: Fri, 4 Jan 2008 23:41:44 +1000 Subject: [PATCH] hplip: NEW port --- sip/.footprint | 12 ++++++++++++ sip/.md5sum | 1 + sip/Pkgfile | 23 +++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 sip/.footprint create mode 100644 sip/.md5sum create mode 100644 sip/Pkgfile diff --git a/sip/.footprint b/sip/.footprint new file mode 100644 index 000000000..4e206e916 --- /dev/null +++ b/sip/.footprint @@ -0,0 +1,12 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/sip +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/python2.5/ +-rw-r--r-- root/root usr/include/python2.5/sip.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python2.5/ +drwxr-xr-x root/root usr/lib/python2.5/site-packages/ +-rwxr-xr-x root/root usr/lib/python2.5/site-packages/sip.so +-rw-r--r-- root/root usr/lib/python2.5/site-packages/sipconfig.py +-rw-r--r-- root/root usr/lib/python2.5/site-packages/sipdistutils.py diff --git a/sip/.md5sum b/sip/.md5sum new file mode 100644 index 000000000..a8235d6e2 --- /dev/null +++ b/sip/.md5sum @@ -0,0 +1 @@ +0fdb0cbdcbbe158009196437711eb8bd sip-4.5.2.tar.gz diff --git a/sip/Pkgfile b/sip/Pkgfile new file mode 100644 index 000000000..e97d2416a --- /dev/null +++ b/sip/Pkgfile @@ -0,0 +1,23 @@ +# Description: A tool for creating Python bindings for C and C++ libraries +# URL: http://www.riverbankcomputing.co.uk/sip/ +# Maintainer: James Mills, prologic at shortcircuit dot net dot au +# Packager: Younes Hafri, ycrux at club-internet dot fr +# +# Depends on: python, qt3 + +name=sip +version=4.5.2 +release=1 +source=(http://www.riverbankcomputing.com/Downloads/${name}4/$name-$version.tar.gz) + +build() { + cd $name-$version + export QTDIR=/usr/share/qt/ + + python configure.py CXXFLAGS+=-lqt-mt + + make + make DESTDIR=$PKG install + + chown -R root:root $PKG +}