2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.clearsilver.net
/downloads
/
16 PKG_MD5SUM
:=b8c0c7fbe0ef5e06e0c935f134304d44
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/clearsilver
25 TITLE
:=ClearSilver template system
26 URL
:=http
://www.clearsilver.net
/
30 define Package
/clearsilver
/description
31 Clearsilver is a fast
, powerful
, and language-neutral HTML template system. In both static content sites and dynamic HTML applications
, it provides a separation between presentation code and application logic which makes working with your project easier.
34 TARGET_CFLAGS
+= $(FPIC
)
46 ifneq ($(SDK
)$(CONFIG_CLEARSILVER_ENABLE_COMPRESSION
),y
)
54 ifneq ($(SDK
)$(CONFIG_CLEARSILVER_ENABLE_REMOTE_DEBUGGER
),y
)
56 --disable-remote-debugger
59 --enable-remote-debugger
62 ifneq ($(SDK
)$(CONFIG_CLEARSILVER_ENABLE_GETTEXT
),y
)
71 $(TARGET_CONFIGURE_OPTS
) \
75 define Build
/InstallDev
76 $(INSTALL_DIR
) $(1)/usr
/include
77 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/ClearSilver
$(1)/usr
/include/
79 $(INSTALL_DIR
) $(1)/usr
/lib
80 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libneo_
*.a
$(1)/usr
/lib
/
82 $(INSTALL_DIR
) $(1)/usr
/bin
83 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
86 define Package
/clearsilver
/install
89 $(eval
$(call BuildPackage
,clearsilver
))