massive Makefile cleanup, add missing 'svn:keywords' property
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -10,11 +11,12 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=iperf
|
||||
PKG_VERSION:=2.0.2
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=bb658aba58a5af0356f5b1342dfe8f53
|
||||
|
||||
PKG_SOURCE_URL:=http://dast.nlanr.net/Projects/Iperf2.0
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://dast.nlanr.net/Projects/Iperf2.0
|
||||
PKG_MD5SUM:=bb658aba58a5af0356f5b1342dfe8f53
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
@ -25,30 +27,27 @@ define Package/iperf
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+uclibcxx
|
||||
TITLE:=Internet Protocol bandwidth measuring tool
|
||||
DESCRIPTION:=Iperf is a modern alternative for measuring TCP and UDP bandwidth\\\
|
||||
performance, allowing the tuning of various parameters and\\\
|
||||
characteristics.\\\
|
||||
DESCRIPTION:=\
|
||||
Iperf is a modern alternative for measuring TCP and UDP bandwidth \\\
|
||||
performance, allowing the tuning of various parameters and \\\
|
||||
characteristics.
|
||||
URL:=http://dast.nlanr.net/Projects/Iperf/
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default, \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-rpath \
|
||||
--disable-multicast \
|
||||
--disable-threads, \
|
||||
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
|
||||
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
|
||||
LIBS="-luClibc++ -lc -lm -lgcc_s" \
|
||||
--disable-threads \
|
||||
, \
|
||||
CXXFLAGS="$$$$CXX_CFLAGS -fno-builtin -fno-rtti -nostdinc++" \
|
||||
LIBS="-nodefaultlibs -luClibc++ -lc -lm -lgcc_s" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" install
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
endef
|
||||
|
||||
define Package/iperf/install
|
||||
|
Reference in New Issue
Block a user