summaryrefslogtreecommitdiff
path: root/package/tptest/Makefile
blob: 68ae6741b01bfc731a7906cf288fa2eb377cb25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		tptest
PKG_VERSION:=		3.1.7
PKG_RELEASE:=		1
PKG_MD5SUM:=		46f941bdab738a2a11ecc2a5f757ec77
PKG_DESCR:=		Internet bandwidth tester
PKG_SECTION:=		net
PKG_URL:=		http://tptest.sourceforge.net/
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=tptest/}

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,TPTEST,tptest,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=		manual
BUILD_STYLE:=		manual
INSTALL_STYLE:=		manual

do-build:
	(cd ${WRKSRC}/apps/unix/server && ${MAKE} && ${MAKE} install DESTDIR="${WRKINST}")
	(cd ${WRKSRC}/apps/unix/client && ${MAKE} && ${MAKE} install DESTDIR="${WRKINST}")

do-install:
	$(INSTALL_DIR) $(IDIR_TPTEST)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/tptest{client,server} \
		$(IDIR_TPTEST)/usr/bin/

include ${TOPDIR}/mk/pkg-bottom.mk