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/libart |
Initial import
Diffstat (limited to 'package/libart')
-rw-r--r-- | package/libart/Config.in | 12 | ||||
-rw-r--r-- | package/libart/Makefile | 28 | ||||
-rw-r--r-- | package/libart/ipkg/libart.control | 9 | ||||
-rw-r--r-- | package/libart/patches/100-cross_compile_fix.patch | 15 |
4 files changed, 64 insertions, 0 deletions
diff --git a/package/libart/Config.in b/package/libart/Config.in new file mode 100644 index 000000000..477bcc63e --- /dev/null +++ b/package/libart/Config.in @@ -0,0 +1,12 @@ +config ADK_PACKAGE_LIBART + prompt "libart............................ An high-performance 2D graphics library" + tristate + default n + help + A library of functions for 2D graphics supporting a superset of the + PostScript imaging model, designed to be integrated with graphics, artwork, + and illustration programs. It is written in optimized C, and is fully + compatible with C++. With a small footprint of 10,000 lines of code, it is + especially suitable for embedded applications. + + http://www.levien.com/libart/ diff --git a/package/libart/Makefile b/package/libart/Makefile new file mode 100644 index 000000000..a579a7338 --- /dev/null +++ b/package/libart/Makefile @@ -0,0 +1,28 @@ +# $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:= libart +PKG_VERSION:= 2.3.17 +PKG_RELEASE:= 1 +PKG_MD5SUM:= f1f6b3e5490f382535dccb288f5d8b14 +MASTER_SITES:= ${MASTER_SITE_GNOME:=libart_lgpl/2.3/} +DISTFILES:= ${PKG_NAME}_lgpl-${PKG_VERSION}.tar.gz +WRKDIST= ${WRKDIR}/${PKG_NAME}_lgpl-${PKG_VERSION} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBART,libart,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +CONFIGURE_STYLE= gnu +BUILD_STYLE= auto +INSTALL_STYLE= auto confprog + +post-install: + ${INSTALL_DIR} ${IDIR_LIBART}/usr/lib + ${CP} ${WRKINST}/usr/lib/libart_lgpl_2.so.* ${IDIR_LIBART}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libart/ipkg/libart.control b/package/libart/ipkg/libart.control new file mode 100644 index 000000000..42d9523ad --- /dev/null +++ b/package/libart/ipkg/libart.control @@ -0,0 +1,9 @@ +Package: libart +Priority: optional +Section: libs +Description: An high-performance 2D graphics library. + A library of functions for 2D graphics supporting a superset of the + PostScript imaging model, designed to be integrated with graphics, artwork, + and illustration programs. It is written in optimized C, and is fully + compatible with C++. With a small footprint of 10,000 lines of code, it is + especially suitable for embedded applications. diff --git a/package/libart/patches/100-cross_compile_fix.patch b/package/libart/patches/100-cross_compile_fix.patch new file mode 100644 index 000000000..aae1acccf --- /dev/null +++ b/package/libart/patches/100-cross_compile_fix.patch @@ -0,0 +1,15 @@ +diff -urN libart.old/Makefile.in libart.dev/Makefile.in +--- libart.old/Makefile.in 2005-01-21 10:52:11.000000000 +0100 ++++ libart.dev/Makefile.in 2005-07-17 19:31:05.000000000 +0200 +@@ -440,9 +440,9 @@ + @rm -f testuta$(EXEEXT) + $(LINK) $(testuta_LDFLAGS) $(testuta_OBJECTS) $(testuta_LDADD) $(LIBS) + +-gen_art_config$(EXEEXT): $(gen_art_config_OBJECTS) $(gen_art_config_DEPENDENCIES) ++gen_art_config$(EXEEXT): + @rm -f gen_art_config$(EXEEXT) +- $(LINK) $(gen_art_config_LDFLAGS) $(gen_art_config_OBJECTS) $(gen_art_config_LDADD) $(LIBS) ++ $(HOSTCC) -I. -DLIBART_COMPILATION -DHAVE_CONFIG_H -o $@ gen_art_config.c + + install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) |