add netperf package (thanks to Janos)
[openwrt.git] / openwrt / package / heyu / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=heyu
6 PKG_VERSION:=2.0beta.2
7 PKG_RELEASE:=2
8 PKG_MD5SUM:=b7bd60580f74998ae7733e4711942c74
9 PKG_SOURCE_URL:=http://heyu.tanj.com/heyu2/
10 PKG_SOURCE:=heyu-$(PKG_VERSION).tgz
11 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
12 PKG_CAT:=zcat
13
14 include $(TOPDIR)/package/rules.mk
15
16 $(eval $(call PKG_template,HEYU,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.configured:
19 touch $@
20
21 $(PKG_BUILD_DIR)/.built:
22 $(MAKE) -C $(PKG_BUILD_DIR) \
23 CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
24 CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ"
25 touch $@
26
27 $(IPKG_HEYU):
28 install -d -m0755 $(IDIR_HEYU)/etc/$(PKG_NAME)
29 install -m0644 ./files/x10.conf $(IDIR_HEYU)/etc/$(PKG_NAME)/x10.conf
30 install -d -m0755 $(IDIR_HEYU)/usr/bin
31 install -m0644 $(PKG_BUILD_DIR)/heyu $(IDIR_HEYU)/usr/bin/
32 $(RSTRIP) $(IDIR_HEYU)
33 $(IPKG_BUILD) $(IDIR_HEYU) $(PACKAGE_DIR)
This page took 0.050218 seconds and 5 git commands to generate.