diff --git a/srcpkgs/pycairo-devel b/srcpkgs/pycairo-devel new file mode 120000 index 0000000000..edfa431d9a --- /dev/null +++ b/srcpkgs/pycairo-devel @@ -0,0 +1 @@ +pycairo \ No newline at end of file diff --git a/srcpkgs/pycairo/pycairo-devel.template b/srcpkgs/pycairo/pycairo-devel.template new file mode 100644 index 0000000000..748266d73e --- /dev/null +++ b/srcpkgs/pycairo/pycairo-devel.template @@ -0,0 +1,15 @@ +# Template file for 'pycairo-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pycairo + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/pycairo/template b/srcpkgs/pycairo/template index 809b05f40a..2564b9d0be 100644 --- a/srcpkgs/pycairo/template +++ b/srcpkgs/pycairo/template @@ -1,7 +1,7 @@ # Template file for 'pycairo' pkgname=pycairo version=1.8.8 -revision=1 +revision=2 distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz" build_style=gnu_configure short_desc="Python bindings for the cairo graphics library" @@ -10,8 +10,10 @@ checksum=2f52599943ca03c8ff336a0e84b1c8b74f30e2a3de9cb6a9a42a93a848832860 long_desc=" Pycairo is a set of Python bindings for the cairo graphics library." -Add_dependency run cairo +subpackages="$pkgname-devel" + Add_dependency run glibc +Add_dependency run cairo Add_dependency run python Add_dependency build pkg-config Add_dependency build cairo-devel