libdbi-drivers: update libdbi-drivers to 0.9.0
[packages.git] / net / paris-traceroute / Makefile
1 #
2 # Copyright (C) 2011 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:=paris-traceroute
11 PKG_VERSION:=0.92
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-dev.tar.gz
15 PKG_SOURCE_URL:=http://www.paris-traceroute.net/downloads
16 PKG_MD5SUM:=18643a62fdcabd038cdeb14b5cbedb8b
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-current
19 PKG_FIXUP:=autoreconf
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/uclibc++.mk
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/paris-traceroute
26   SECTION:=net
27   CATEGORY:=Network
28   TITLE:=Paris Traceroute
29   URL:=http://www.paris-traceroute.net/
30   DEPENDS:=+libpthread $(CXX_DEPENDS)
31 endef
32
33 define Package/paris-traceroute/description
34   Paris traceroute is a new version of the well-known network diagnosis and
35   measurement tool. It addresses problems caused by load balancers with the
36   initial implementation of traceroute.
37 endef
38
39 TARGET_LDFLAGS += -lm
40
41 define Package/paris-traceroute/install
42         $(INSTALL_DIR) $(1)/usr/bin
43         $(INSTALL_BIN) \
44                 $(PKG_INSTALL_DIR)/usr/bin/paris-traceroute \
45                 $(1)/usr/bin/
46 endef
47
48 $(eval $(call BuildPackage,paris-traceroute))