enable when developer build
[openwrt.git] / package / fprobe / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME := fprobe
6 PKG_VERSION := 1.1
7 PKG_RELEASE := 1
8 PKG_MD5SUM := 65850d0470078269b33eee58cba77ac2
9
10 PKG_SOURCE := $(PKG_NAME)-$(PKG_VERSION).tar.bz2
11 PKG_SOURCE_URL := @SF/fprobe
12 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
13 PKG_CAT := bzcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 $(eval $(call PKG_template,FPROBE,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
18
19 $(PKG_BUILD_DIR)/.configured:
20 (cd $(PKG_BUILD_DIR) ; \
21 $(TARGET_CONFIGURE_OPTS) \
22 CFLAGS="$(TARGET_CFLAGS)" \
23 ./configure \
24 --target=$(GNU_TARGET_NAME) \
25 --host=$(GNU_TARGET_NAME) \
26 --build=$(GNU_HOST_NAME) \
27 --prefix=/usr \
28 --exec-prefix=/usr \
29 --bindir=/usr/bin \
30 --sbindir=/usr/sbin \
31 --libexecdir=/usr/lib \
32 --datadir=/usr/share \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --localstatedir=/var \
36 --sysconfdir=/etc \
37 --with-piddir=/var \
38 --with-pcap=$(STAGING_DIR)/usr/include \
39 --with-libpcap=$(STAGING_DIR)/usr/lib \
40 --with-membulk=index8 \
41 --with-hash=xor8 \
42 $(DISABLE_NLS) \
43 )
44 touch $@
45
46 $(PKG_BUILD_DIR)/.built:
47 $(MAKE) -C $(PKG_BUILD_DIR)
48 touch $@
49
50 $(IPKG_FPROBE):
51 mkdir -p $(IDIR_FPROBE)/usr/bin
52 cp $(PKG_BUILD_DIR)/src/fprobe $(IDIR_FPROBE)/usr/bin/
53 $(STRIP) $(IDIR_FPROBE)/usr/bin/*
54 $(IPKG_BUILD) $(IDIR_FPROBE) $(PACKAGE_DIR)
This page took 0.044257 seconds and 5 git commands to generate.