Branch oldpackages for 14.07
[14.07/packages.git] / net / gatling / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gatling
11 PKG_VERSION:=0.11
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://dl.fefe.de
16 PKG_MD5SUM:=a0fb49ccb6b910bdbd7e76a9960394e3
17
18 include $(INCLUDE_DIR)/nls.mk
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/gatling
22   SECTION:=net
23   CATEGORY:=Network
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
29 endef
30
31 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/libowfat \
32                  -I$(ICONV_PREFIX)/include
33
34 TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib \
35                   -L$(ICONV_PREFIX)/lib \
36                   -Wl,-Bdynamic,$(LIBGCC_S)
37
38 define Package/$(PKG_NAME)/install
39         $(INSTALL_DIR) $(1)/bin
40         $(INSTALL_BIN) $(PKG_BUILD_DIR)/gatling $(1)/bin
41 endef
42
43 $(eval $(call BuildPackage,gatling))