fix ttcp .prepared target
[openwrt.git] / openwrt / package / ttcp / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=ttcp
6 PKG_VERSION:=3.8
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/ttcp
10
11 include $(TOPDIR)/package/rules.mk
12
13 $(eval $(call PKG_template,TTCP,ttcp,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
14
15 $(PKG_BUILD_DIR)/.prepared:
16 mkdir -p $(PKG_BUILD_DIR)
17 touch $@
18
19 $(PKG_BUILD_DIR)/.configured:
20 touch $@
21
22 $(PKG_BUILD_DIR)/.built:
23 $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/ttcp ttcp.c
24 touch $@
25
26 $(IPKG_TTCP):
27 install -d -m0755 $(IDIR_TTCP)/usr/bin
28 install -m0755 $(PKG_BUILD_DIR)/ttcp $(IDIR_TTCP)/usr/bin/
29 $(RSTRIP) $(IDIR_TTCP)
30 $(IPKG_BUILD) $(IDIR_TTCP) $(PACKAGE_DIR)
This page took 0.039972 seconds and 5 git commands to generate.