[packages] normalize PKG_FIXUP - the "libtool" fixup is merely an alias for "autoreco...
[openwrt/svn-archive/archive.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)/package.mk
23
24 define Package/paris-traceroute
25 SECTION:=net
26 CATEGORY:=Network
27 TITLE:=Paris Traceroute
28 URL:=http://www.paris-traceroute.net/
29 DEPENDS:=+libpthread +uclibcxx
30 endef
31
32 define Package/paris-traceroute/description
33 Paris traceroute is a new version of the well-known network diagnosis and
34 measurement tool. It addresses problems caused by load balancers with the
35 initial implementation of traceroute.
36 endef
37
38 TARGET_CXX = $(STAGING_DIR)/host/bin/g++-uc
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))