212985dc05d6117abc8b37aae988f993cd92c1ed
[packages.git] / net / qolyester / Makefile
1 #
2 # Copyright (C) 2007 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:=qolyester
11 PKG_VERSION:=20090302
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://qolsr.lri.fr/code/
16 PKG_MD5SUM:=650286fc2ea3e13c246d233aaa46f2a4
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/qolyester
21   SECTION:=net
22   CATEGORY:=Network
23   DEPENDS:=+libpthread @!TARGET_avr32 @!powerpc
24   TITLE:=OLSR implementation with QoS
25   URL:=http://qolsr.lri.fr/code/
26 endef
27
28 define Package/qolyester/description
29         This is an implementation from scratch of the OLSR protocol.
30         It is written in the C++ programming language and its goals
31         are modularity, efficiency and conformance to RFC 3626 (OLSR).
32 endef
33
34 # uses GNU configure
35 define Build/Compile    
36         $(MAKE) -C $(PKG_BUILD_DIR) \
37                 DESTDIR="$(PKG_INSTALL_DIR)" \
38                 all install
39 endef
40
41 define Package/qolyester/install        
42         $(INSTALL_DIR) $(1)/usr/bin
43         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qolsrd $(1)/usr/bin/
44 endef
45
46 $(eval $(call BuildPackage,qolyester))