e6079336be05f31fc74343503e4b39ca4bc93050
[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
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 PKG_BUILD_DEPENDS:=libnotimpl
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/qolyester
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libpthread @!TARGET_avr32 @!powerpc
26 TITLE:=OLSR implementation with QoS
27 URL:=http://qolsr.lri.fr/code/
28 endef
29
30 define Package/qolyester/description
31 This is an implementation from scratch of the OLSR protocol.
32 It is written in the C++ programming language and its goals
33 are modularity, efficiency and conformance to RFC 3626 (OLSR).
34 endef
35
36 # uses GNU configure
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR) \
39 DESTDIR="$(PKG_INSTALL_DIR)" \
40 LIBS="-L$(STAGING_DIR)/usr/lib -lnotimpl" \
41 all install
42 endef
43
44 define Package/qolyester/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qolsrd $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,qolyester))