diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libgd |
Initial import
Diffstat (limited to 'package/libgd')
-rw-r--r-- | package/libgd/Config.in | 11 | ||||
-rw-r--r-- | package/libgd/Makefile | 32 | ||||
-rw-r--r-- | package/libgd/ipkg/libgd.control | 5 | ||||
-rw-r--r-- | package/libgd/patches/patch-Makefile_in | 29 |
4 files changed, 77 insertions, 0 deletions
diff --git a/package/libgd/Config.in b/package/libgd/Config.in new file mode 100644 index 000000000..af20a95a2 --- /dev/null +++ b/package/libgd/Config.in @@ -0,0 +1,11 @@ +config ADK_PACKAGE_LIBGD + prompt "libgd............................. The GD Graphics Library" + tristate + default n + select ADK_PACKAGE_LIBJPEG + select ADK_PACKAGE_LIBPNG + help + The GD Graphics Library + + http://www.libgd.org/ + diff --git a/package/libgd/Makefile b/package/libgd/Makefile new file mode 100644 index 000000000..adc3b780f --- /dev/null +++ b/package/libgd/Makefile @@ -0,0 +1,32 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk + +PKG_NAME:= gd +PKG_VERSION:= 2.0.35 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 982963448dc36f20cb79b6e9ba6fdede +MASTER_SITES:= http://www.libgd.org/releases/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE= gnu +CONFIGURE_ENV+= LIBPNG12_CONFIG="${STAGING_DIR}/usr/bin/libpng12-config" +CONFIGURE_ARGS+= --without-x \ + --without-freetype \ + --with-jpeg=${STAGING_DIR}/usr \ + --with-png=${STAGING_DIR}/usr \ + --without-xpm +BUILD_STYLE= auto +INSTALL_STYLE= auto + +post-install: + ${INSTALL_DIR} ${IDIR_LIBGD}/usr/lib + ${CP} ${WRKINST}/usr/lib/libgd.so.* ${IDIR_LIBGD}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libgd/ipkg/libgd.control b/package/libgd/ipkg/libgd.control new file mode 100644 index 000000000..f6a78e5c3 --- /dev/null +++ b/package/libgd/ipkg/libgd.control @@ -0,0 +1,5 @@ +Package: libgd +Priority: optional +Section: libs +Depends: libjpeg, libpng +Description: A library for the dynamic creation of images diff --git a/package/libgd/patches/patch-Makefile_in b/package/libgd/patches/patch-Makefile_in new file mode 100644 index 000000000..c36a6b4a6 --- /dev/null +++ b/package/libgd/patches/patch-Makefile_in @@ -0,0 +1,29 @@ +$Id$ +--- gd-2.0.34.orig/Makefile.in 2007-02-03 02:41:46.000000000 +0100 ++++ gd-2.0.34/Makefile.in 2007-02-20 20:56:27.000000000 +0100 +@@ -78,7 +78,7 @@ am_libgd_la_OBJECTS = gd.lo gdfx.lo gd_s + gd_io.lo gd_io_dp.lo gd_gif_in.lo gd_gif_out.lo gd_io_file.lo \ + gd_io_ss.lo gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo \ + gd_wbmp.lo gdcache.lo gdfontg.lo gdfontl.lo gdfontmb.lo \ +- gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo gdkanji.lo \ ++ gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo \ + gdtables.lo gdxpm.lo wbmp.lo + libgd_la_OBJECTS = $(am_libgd_la_OBJECTS) + binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +@@ -344,7 +344,7 @@ bin_SCRIPTS = bdftogd config/gdlib-confi + EXTRA_DIST = README-JPEG.TXT README.TXT configure.pl bdftogd demoin.png err.out index.html install-item makefile.sample readme.jpn entities.html entities.tcl + include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h entities.h + lib_LTLIBRARIES = libgd.la +-libgd_la_SOURCES = gd.c gdfx.c gd_security.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_gif_in.c gd_gif_out.c gd_io_file.c gd_io_ss.c gd_jpeg.c gd_png.c gd_ss.c gd_topal.c gd_wbmp.c gdcache.c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c gdfontt.c gdft.c gdhelpers.c gdhelpers.h gdkanji.c gdtables.c gdxpm.c jisx0208.h wbmp.c wbmp.h ++libgd_la_SOURCES = gd.c gdfx.c gd_security.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_gif_in.c gd_gif_out.c gd_io_file.c gd_io_ss.c gd_jpeg.c gd_png.c gd_ss.c gd_topal.c gd_wbmp.c gdcache.c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c gdfontt.c gdft.c gdhelpers.c gdhelpers.h gdtables.c gdxpm.c jisx0208.h wbmp.c wbmp.h + libgd_la_LDFLAGS = -version-info 2:0:0 $(XTRA_LDFLAGS) + libgd_la_LIBADD = $(LTLIBICONV) + LDADD = ./libgd.la $(LIBICONV) +@@ -594,7 +594,6 @@ distclean-compile: + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdft.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdfx.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdhelpers.Plo@am__quote@ +-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdkanji.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdparttopng.Po@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdtables.Plo@am__quote@ + @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdtest.Po@am__quote@ |