source: freewrt/package/ttcp/Makefile@ ca629a6

freewrt_1_0 freewrt_2_0
Last change on this file since ca629a6 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 790 bytes
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= ttcp
10PKG_VERSION:= 3.8
11PKG_RELEASE:= 1
12
13WRKSRC= ${WRKDIR}/ttcp
14DISTFILES:=
15
16include $(TOPDIR)/mk/package.mk
17
18$(eval $(call PKG_template,TTCP,ttcp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20$(WRKBUILD)/.prepared:
21 mkdir -p $(WRKBUILD)
22 touch $@
23
24$(WRKBUILD)/.configured:
25 touch $@
26
27$(WRKBUILD)/.built:
28 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/ttcp ttcp.c
29 touch $@
30
31$(IPKG_TTCP):
32 install -d -m0755 $(IDIR_TTCP)/usr/bin
33 install -m0755 $(WRKBUILD)/ttcp $(IDIR_TTCP)/usr/bin/
34 $(RSTRIP) $(IDIR_TTCP)
35 $(IPKG_BUILD) $(IDIR_TTCP) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.