1 DESCRIPTION
= "Python Bindings for the Cairo canvas library"
2 SECTION
= "devel/python"
3 HOMEPAGE
= "http://cairographics.org/pycairo"
9 SRC_URI
= "http://cairographics.org/releases/pycairo-${PV}.tar.gz \
10 file://fix-setup-py.patch"
11 S
= "${WORKDIR}/pycairo-${PV}"
13 inherit distutils pkgconfig
15 do_configure_append
() {
16 sed
-e 's
:@prefix@
:$
{prefix
}:'
-e 's
:@includedir@
:\$\
{prefix\
}/include:'
-e 's
:@VERSION@
:$
{PV
}:' pycairo.pc.in
> pycairo.pc
20 mv $
{D
}$
{datadir
}/include/* $
{D
}$
{includedir
}
21 mv $
{D
}$
{datadir
}/lib
/* $
{D
}$
{libdir
}
22 install
-d $
{D
}$
{includedir
}/pycairo
23 ln
-sf ..
//pycairo.h $
{D
}$
{includedir
}/pycairo
/
26 SRC_URI
[md5sum
] = "847f5377c32228a656819f5bd18eb6b4"
27 SRC_URI
[sha256sum
] = "a2272dafceb25ed9fedd0b10429dfec9c412b3b36eb6137f79c87e7d004036d4"