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