3bb0102df1e73188584a78e6f1ab87e3274e63e8
[openwrt/svn-archive/archive.git] / net / umurmur / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9
10 PKG_NAME:=umurmur
11 PKG_VERSION:=0.1.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://umurmur.googlecode.com/files/
16 PKG_MD5SUM:=f72b6f0aee7fdba31cd4faa9fb01ab6d
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/umurmur
21 SECTION:=net
22 CATEGORY:=Network
23 TITLE:=uMurmur
24 DEPENDS:=+libopenssl +libconfig
25 URL:=http://code.google.com/p/umurmur
26 MAINTAINER:=Martin Johansson <martin@fatbob.nu>
27 endef
28
29 define Package/umurmur/description
30 Minimalistic Mumble server daemon.
31 endef
32
33 TARGET_CFLAGS := \
34 -DWRT_TARGET \
35 -I$(STAGING_DIR)/usr/include \
36 $(TARGET_CFLAGS)
37
38 MAKE_PATH:=src
39
40 define Package/umurmur/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/umurmurd $(1)/usr/bin/
43 $(INSTALL_DIR) $(1)/etc
44 $(INSTALL_CONF) $(PKG_BUILD_DIR)/files/umurmur.conf $(1)/etc/
45 $(INSTALL_DIR) $(1)/etc/init.d
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/umurmur.init $(1)/etc/init.d/umurmur
47 $(INSTALL_DIR) $(1)/etc/umurmur
48 endef
49
50 $(eval $(call BuildPackage,umurmur))