2 # Copyright (C) 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.bz2
15 PKG_SOURCE_URL:=http://dl.fefe.de
16 PKG_MD5SUM:=a0fb49ccb6b910bdbd7e76a9960394e3
18 include $(INCLUDE_DIR)/nls.mk
19 include $(INCLUDE_DIR)/package.mk
21 define Package/gatling
24 SUBMENU:=Web Servers/Proxies
25 TITLE:=gatling - a high performance web server
26 VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
27 URL:=http://www.fefe.de/gatling/
28 DEPENDS:=$(ICONV_DEPENDS) +zlib +libowfat +libopenssl
31 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libowfat \
32 -I$(ICONV_PREFIX)/include
34 TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib \
35 -L$(ICONV_PREFIX)/lib \
36 -Wl,-Bdynamic,$(LIBGCC_S)
38 define Package/$(PKG_NAME)/install
39 $(INSTALL_DIR) $(1)/bin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/gatling $(1)/bin
43 $(eval $(call BuildPackage,gatling))