3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:= 65850d0470078269b33eee58cba77ac2
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
)
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,FPROBE
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
:
20 (cd
$(PKG_BUILD_DIR
) ; \
21 $(TARGET_CONFIGURE_OPTS
) \
22 CFLAGS
="$(TARGET_CFLAGS)" \
24 --target
=$(GNU_TARGET_NAME
) \
25 --host
=$(GNU_TARGET_NAME
) \
26 --build
=$(GNU_HOST_NAME
) \
31 --libexecdir
=/usr
/lib \
32 --datadir=/usr
/share \
33 --infodir=/usr
/share
/info \
34 --mandir=/usr
/share
/man \
35 --localstatedir
=/var \
38 --with-pcap
=$(STAGING_DIR
)/usr
/include \
39 --with-libpcap
=$(STAGING_DIR
)/usr
/lib \
40 --with-membulk
=index8 \
46 $(PKG_BUILD_DIR
)/.built
:
47 $(MAKE
) -C
$(PKG_BUILD_DIR
)
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
)