2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)_lgpl-
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://ftp.gnome.org
/pub
/gnome
/sources
/libart_lgpl
/2.3
17 PKG_MD5SUM
:=a2992b830295132dae2bf85d1156e48e
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)_lgpl-
$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=An high-performance
2D graphics library
28 URL
:=http
://www.levien.com
/libart
/
31 define Package
/libart
/description
32 A library of functions for
2D graphics supporting a superset of the
33 PostScript imaging model
, designed to be integrated with graphics
, artwork
,
34 and illustration programs. It is written in optimized C
, and is fully
35 compatible with C
++. With a small footprint of
10,000 lines of code
, it is
36 especially suitable for embedded applications.
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
46 DESTDIR
="$(PKG_INSTALL_DIR)" \
50 define Build
/InstallDev
51 $(INSTALL_DIR
) $(1)/usr
/bin
$(1)/usr
/include $(1)/usr
/lib
$(1)/usr
/lib
/pkgconfig
52 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/libart2-config
$(1)/usr
/bin
/
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libart-2.0
$(1)/usr
/include/
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libart_lgpl_2.
{la
,a
,so
*} $(1)/usr
/lib
/
55 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libart-2.0.
pc $(1)/usr
/lib
/pkgconfig
/
58 define Package
/libart
/install
59 $(INSTALL_DIR
) $(1)/usr
/lib
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libart_lgpl_2.so.
* $(1)/usr
/lib
/
63 $(eval
$(call BuildPackage
,libart
))