Added gd-2.0.35 template.

--HG--
extra : convert_revision : 0fca5589e217c78020f0b0e2c8ca3e1a75331821
This commit is contained in:
Juan RP 2009-04-22 01:13:03 +02:00
parent 48acdce212
commit 29a244c1b3
6 changed files with 71 additions and 0 deletions

1
templates/gd-devel Symbolic link
View File

@ -0,0 +1 @@
gd

1
templates/gd-progs Symbolic link
View File

@ -0,0 +1 @@
gd

2
templates/gd/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=2.0.35
api_depends=${abi_depends}

View File

@ -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
}

View File

@ -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
}

35
templates/gd/template Normal file
View File

@ -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 <xtraeme@gmail.com>"
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