diff --git a/templates/gegl-devel b/templates/gegl-devel new file mode 120000 index 00000000000..303910844bc --- /dev/null +++ b/templates/gegl-devel @@ -0,0 +1 @@ +gegl \ No newline at end of file diff --git a/templates/gegl/depends b/templates/gegl/depends new file mode 100644 index 00000000000..354297d2f68 --- /dev/null +++ b/templates/gegl/depends @@ -0,0 +1,2 @@ +abi_depends=0.0.22 +api_depends=${abi_depends} diff --git a/templates/gegl/devel.template b/templates/gegl/devel.template new file mode 100644 index 00000000000..50669d78968 --- /dev/null +++ b/templates/gegl/devel.template @@ -0,0 +1,24 @@ +# Template file for 'gegl-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gegl + +do_install() +{ + local lver="0.0" + + mkdir -p ${DESTDIR}/usr/lib/gegl-${lver} + mkdir -p ${DESTDIR}/usr/bin + + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/gegl-${lver}/*.*a \ + ${DESTDIR}/usr/lib/gegl-${lver} +} diff --git a/templates/gegl/template b/templates/gegl/template index 163ac448805..ca10f5b7e0e 100644 --- a/templates/gegl/template +++ b/templates/gegl/template @@ -1,13 +1,12 @@ # Template build file for 'gegl'. pkgname=gegl -version=0.0.20 +sourcepkg=$pkgname +version=0.0.22 distfiles="ftp://ftp.gimp.org/pub/gegl/0.0/$pkgname-$version.tar.bz2" build_style=gnu_configure -make_cmd="$XBPS_MASTERDIR/bin/gmake" -pkgconfig_override="gegl.pc" short_desc="graph based image processing framework" maintainer="Juan RP " -checksum=b4bc7169eafa4fea512f1190f1ad835d688c4080 +checksum=857233c84fe4a215466582eeeac3e719059f2d467f700a9f6885c35f55caa65b long_desc=" GEGL (Generic Graphics Library) is a graph based image processing framework. @@ -16,3 +15,11 @@ long_desc=" image editing on larger than RAM buffers. Through babl it provides support for a wide range of color models and pixel storage formats for input and output." + +subpackages="devel" +Add_dependency full glibc +Add_dependency full babl +Add_dependency full libpng +Add_dependency full jpeg +Add_dependency full gtk+ +Add_dependency full librsvg