Ignore:
Timestamp:
2010-02-24T18:02:13+01:00 (6 years ago)
Author:
rhk
Message:

[packages] clearsilver: fix Config.in handling and refresh patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/clearsilver/Makefile

    r19602 r19843  
    1010PKG_NAME:=clearsilver 
    1111PKG_VERSION:=0.10.5 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    1616PKG_MD5SUM:=b8c0c7fbe0ef5e06e0c935f134304d44 
    1717 
     18PKG_CONFIG_DEPENDS:= \ 
     19        CONFIG_CLEARSILVER_ENABLE_COMPRESSION \ 
     20        CONFIG_CLEARSILVER_ENABLE_REMOTE_DEBUGGER \ 
     21        CONFIG_CLEARSILVER_ENABLE_GETTEXT 
     22 
     23PKG_FIXUP:=libtool 
    1824PKG_INSTALL:=1 
    1925 
     
    2531  TITLE:=ClearSilver template system 
    2632  URL:=http://www.clearsilver.net/ 
    27   MENU:=1 
     33  MAINTAINER:=Raphaël HUCK <rhk@cksum.org> 
     34  DEPENDS:=+CLEARSILVER_ENABLE_COMPRESSION:zlib 
     35endef 
     36 
     37define Package/clearsilver/config 
     38  menu "Configuration" 
     39  depends on PACKAGE_clearsilver 
     40  source "$(SOURCE)/Config.in" 
     41  endmenu 
    2842endef 
    2943 
    3044define 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. 
     45Clearsilver is a fast, powerful, and language-neutral HTML template system. In 
     46both static content sites and dynamic HTML applications, it provides a separation 
     47between presentation code and application logic which makes working with your 
     48project easier. 
    3249endef 
    3350 
    34 TARGET_CFLAGS += $(FPIC) 
    35  
    36 CONFIGURE_ARGS += \ 
     51CONFIGURE_ARGS+= \ 
    3752        --disable-wdb \ 
    3853        --disable-apache \ 
     
    4459        --prefix=/usr 
    4560 
    46 ifneq ($(SDK)$(CONFIG_CLEARSILVER_ENABLE_COMPRESSION),y) 
    47   CONFIGURE_ARGS+= \ 
    48         --disable-compression 
     61ifeq ($(SDK)$(CONFIG_CLEARSILVER_ENABLE_COMPRESSION),y) 
     62        CONFIGURE_ARGS+= \ 
     63                --enable-compression 
    4964else 
    50   CONFIGURE_ARGS+= \ 
    51         --enable-compression 
     65        CONFIGURE_ARGS+= \ 
     66                --disable-compression 
    5267endif 
    5368 
    54 ifneq ($(SDK)$(CONFIG_CLEARSILVER_ENABLE_REMOTE_DEBUGGER),y) 
    55   CONFIGURE_ARGS+= \ 
    56         --disable-remote-debugger 
     69ifeq ($(SDK)$(CONFIG_CLEARSILVER_ENABLE_REMOTE_DEBUGGER),y) 
     70        CONFIGURE_ARGS+= \ 
     71                --enable-remote-debugger 
    5772else 
    58   CONFIGURE_ARGS+= \ 
    59         --enable-remote-debugger 
     73        CONFIGURE_ARGS+= \ 
     74                --disable-remote-debugger 
    6075endif 
    6176 
    62 ifneq ($(SDK)$(CONFIG_CLEARSILVER_ENABLE_GETTEXT),y) 
    63   CONFIGURE_ARGS+= \ 
    64         --disable-gettext 
     77ifeq ($(SDK)$(CONFIG_CLEARSILVER_ENABLE_GETTEXT),y) 
     78        CONFIGURE_ARGS+= \ 
     79                --enable-gettext 
    6580else 
    66   CONFIGURE_ARGS+= \ 
    67         --enable-gettext 
     81        CONFIGURE_ARGS+= \ 
     82                --disable-gettext 
    6883endif 
    6984 
    70 MAKE_FLAGS += \ 
     85TARGET_CFLAGS+=$(FPIC) 
     86 
     87MAKE_FLAGS+= \ 
    7188        $(TARGET_CONFIGURE_OPTS) \ 
    7289        AR="$(AR) cr" \ 
Note: See TracChangeset for help on using the changeset viewer.