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