7bec65e66d6bbd861037d5dde467b3055652f21f
[openwrt/svn-archive/archive.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 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=qolyester
12 PKG_VERSION:=20070910
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://qolsr.lri.fr/code/
17 PKG_MD5SUM:=9c1cf1868e085f47e135a86945d93ce0
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/qolyester
25 SECTION:=net
26 CATEGORY:=Network
27 DEPENDS:=+libpthread
28 TITLE:=OLSR implementation with QoS
29 URL:=http://qolsr.lri.fr/code/
30 endef
31
32 define Package/qolyester/description
33 This is an implementation from scratch of the OLSR protocol.
34 It is written in the C++ programming language and its goals
35 are modularity, efficiency and conformance to RFC 3626 (OLSR).
36 endef
37
38 # uses GNU configure
39
40 define Build/Compile
41 $(MAKE) -C $(PKG_BUILD_DIR) \
42 DESTDIR="$(PKG_INSTALL_DIR)" \
43 all install
44 endef
45
46 define Package/qolyester/install
47 $(INSTALL_DIR) $(1)/usr/bin
48 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qolsrd $(1)/usr/bin/
49 endef
50
51 $(eval $(call BuildPackage,qolyester))