diff --git a/templates/gd-devel b/templates/gd-devel new file mode 120000 index 00000000000..5523e49be07 --- /dev/null +++ b/templates/gd-devel @@ -0,0 +1 @@ +gd \ No newline at end of file diff --git a/templates/gd-progs b/templates/gd-progs new file mode 120000 index 00000000000..5523e49be07 --- /dev/null +++ b/templates/gd-progs @@ -0,0 +1 @@ +gd \ No newline at end of file diff --git a/templates/gd/depends b/templates/gd/depends new file mode 100644 index 00000000000..e89ee473cca --- /dev/null +++ b/templates/gd/depends @@ -0,0 +1,2 @@ +abi_depends=2.0.35 +api_depends=${abi_depends} diff --git a/templates/gd/devel.template b/templates/gd/devel.template new file mode 100644 index 00000000000..aae807ed5e9 --- /dev/null +++ b/templates/gd/devel.template @@ -0,0 +1,16 @@ +# Template file for 'gd-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run gd + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib +} diff --git a/templates/gd/progs.template b/templates/gd/progs.template new file mode 100644 index 00000000000..db5b846186b --- /dev/null +++ b/templates/gd/progs.template @@ -0,0 +1,16 @@ +# Template file for 'gd-progs'. +# +short_desc="Utility programs that use libgd" +long_desc="${long_desc} + + This package contains the utility programs that use the GD + library." + +Add_dependency run gd +Add_dependency run perl + +do_install() +{ + mkdir -p ${DESTDIR}/usr/bin + mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr +} diff --git a/templates/gd/template b/templates/gd/template new file mode 100644 index 00000000000..3f594c77695 --- /dev/null +++ b/templates/gd/template @@ -0,0 +1,35 @@ +# Template build file for 'gd'. +pkgname=gd +sourcepkg=$pkgname +version=2.0.35 +distfiles="http://www.libgd.org/releases/gd-$version.tar.bz2" +build_style=gnu_configure +short_desc="Graphics library for the dynamic creation of images" +maintainer="Juan RP " +checksum=bf222490749d2a9a9ac3593b01eb55aed98461ff81202414707f61b42aa300f9 +long_desc=" + gd is a graphics library. It allows your code to quickly draw images + complete with lines, arcs, text, multiple colors, cut and paste from + other images, and flood fills, and write out the result as a .PNG + file. This is particularly useful in World Wide Web applications, + where .PNG is one of the formats accepted for inline images by most + browsers. + + gd is not a paint program. If you are looking for a paint program, you + are looking in the wrong place. If you are not a programmer, you are + looking in the wrong place. + + gd does not provide for every possible desirable graphics operation. + It is not necessary or desirable for gd to become a kitchen-sink + graphics package, but incorporates most of the commonly requested + features for an 8-bit 2D package." + +subpackages="devel progs" +Add_dependency build pkg-config +Add_dependency full glibc +Add_dependency full zlib +Add_dependency full fontconfig +Add_dependency full freetype +Add_dependency full jpeg +Add_dependency full libpng +Add_dependency full libXpm