6 FPROBE_SOURCE
:=fprobe-
$(FPROBE_VERSION
).
tar.bz2
7 FPROBE_SITE
:=http
://dl.sourceforge.net
/sourceforge
/fprobe
/
8 FPROBE_DIR
:=$(BUILD_DIR
)/fprobe-
$(FPROBE_VERSION
)
11 FPROBE_PATCH_DIR
:= $(SOURCE_DIR
)/openwrt
/patches
/fprobe
13 FPROBE_BUILD_DIR
:= $(BUILD_DIR
)/fprobe_
$(FPROBE_VERSION
)-$(FPROBE_RELEASE
)
14 FPROBE_IPK_DIR
:= $(OPENWRT_IPK_DIR
)/fprobe
15 FPROBE_IPK
:= $(FPROBE_BUILD_DIR
)_
$(ARCH
).ipk
18 $(DL_DIR
)/$(FPROBE_SOURCE
):
19 $(WGET
) -P
$(DL_DIR
) $(FPROBE_SITE
)/$(FPROBE_SOURCE
)
22 $(FPROBE_DIR
)/.stamp-unpacked
: $(DL_DIR
)/$(FPROBE_SOURCE
)
23 $(FPROBE_CAT
) $(DL_DIR
)/$(FPROBE_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
25 touch
$(FPROBE_DIR
)/.stamp-unpacked
28 $(FPROBE_DIR
)/.stamp-configured
: $(FPROBE_DIR
)/.stamp-unpacked
30 rm -rf config.cache
; \
31 $(TARGET_CONFIGURE_OPTS
) \
32 CFLAGS
="$(TARGET_CFLAGS)" \
34 --target
=$(GNU_TARGET_NAME
) \
35 --host
=$(GNU_TARGET_NAME
) \
36 --build
=$(GNU_HOST_NAME
) \
41 --libexecdir
=/usr
/lib
/locate \
43 --datadir=/usr
/share \
44 --localstatedir
=/var
/lib \
45 --mandir=/usr
/share
/man \
46 --infodir=/usr
/share
/info \
47 --includedir=/usr
/include \
50 --with-membulk
=index8 \
53 touch
$(FPROBE_DIR
)/.stamp-configured
56 $(FPROBE_DIR
)/.stamp-built
: $(FPROBE_DIR
)/.stamp-configured
61 touch
$(FPROBE_DIR
)/.stamp-built
64 $(FPROBE_DIR
)/.stamp-installed
: $(FPROBE_DIR
)/.stamp-built
65 mkdir
-p
$(FPROBE_BUILD_DIR
)
68 DESTDIR
="$(FPROBE_BUILD_DIR)" \
71 install -m0755
-d
$(FPROBE_BUILD_DIR
)/etc
72 install -m0644
$(FPROBE_IPK_DIR
)/root
/etc
/fprobe.conf
$(FPROBE_BUILD_DIR
)/etc
/
74 install -m0755
-d
$(FPROBE_BUILD_DIR
)/etc
/init.d
75 install -m0755
$(FPROBE_IPK_DIR
)/root
/etc
/init.d
/fprobe
$(FPROBE_BUILD_DIR
)/etc
/init.d
/
77 rm -rf
$(FPROBE_BUILD_DIR
)/usr
/share
79 $(STRIP
) $(FPROBE_BUILD_DIR
)/usr
/sbin
/*
81 touch
$(FPROBE_DIR
)/.stamp-installed
84 $(FPROBE_IPK
): $(FPROBE_DIR
)/.stamp-installed
85 cp
-a
$(FPROBE_IPK_DIR
)/CONTROL
$(FPROBE_BUILD_DIR
)/
86 perl
-pi
-e
"s/^Vers.*:.*$$/Version: $(FPROBE_VERSION)-$(FPROBE_RELEASE)/" $(FPROBE_BUILD_DIR
)/CONTROL
/control
87 perl
-pi
-e
"s/^Arch.*:.*$$/Architecture: $(ARCH)/" $(FPROBE_BUILD_DIR
)/CONTROL
/control
88 cd
$(BUILD_DIR
); $(IPKG_BUILD
) $(FPROBE_BUILD_DIR
)
91 fprobe-source
: $(DL_DIR
)/$(FPROBE_SOURCE
)
93 fprobe-ipk
: ipkg-utils libpcap-ipk
$(FPROBE_IPK
)
96 $(MAKE
) -C
$(FPROBE_DIR
) clean
100 rm -rf
$(FPROBE_BUILD_DIR
)
This page took 0.05192 seconds and 5 git commands to generate.