1 # Contributor: Branko Vukelic (bg.branko@gmail.com)
6 pkgdesc="Imaging device calibration tool"
7 url="http://lprof.sourceforge.net/"
9 depends=('qt3' 'lcms>=1.12' 'vigra>=1.3')
10 makedepends=('python>=1.53' 'scons')
11 source=(http://downloads.sourceforge.net/lprof/${pkgname}-${pkgver}.tar.gz
13 md5sums=('2177c77c24aa10db9b7681d264735ea9'
14 '5ce946c711462428a10116065647c823')
17 cd ${startdir}/src/${pkgname}-${pkgver}
18 patch -p0<../lcms-117.patch
19 sed -i "s/'tiff'/'tiff','png'/" SConstruct || return 1
21 scons PREFIX=/usr qt_directory=/opt/qt/ || return 1
22 install -d ${startdir}/pkg/usr
23 scons PREFIX=${startdir}/pkg/usr install