summaryrefslogtreecommitdiff
path: root/openwrt/package/fprobe-ulog/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-07-10 12:05:29 +0000
committerNicolas Thill <nico@openwrt.org>2005-07-10 12:05:29 +0000
commit34ec3f93f6a9658b479ca18a30cdf4fac54ad92f (patch)
tree7f8ea92618b7435c1b23ee3c6d228246160ed1bc /openwrt/package/fprobe-ulog/Makefile
parentf2209529fbe31c0e18ad924c372c888e353ebed7 (diff)
downloadmtk-20170518-34ec3f93f6a9658b479ca18a30cdf4fac54ad92f.zip
mtk-20170518-34ec3f93f6a9658b479ca18a30cdf4fac54ad92f.tar.gz
mtk-20170518-34ec3f93f6a9658b479ca18a30cdf4fac54ad92f.tar.bz2
Add fprobe-ulog package
SVN-Revision: 1392
Diffstat (limited to 'openwrt/package/fprobe-ulog/Makefile')
-rw-r--r--openwrt/package/fprobe-ulog/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/openwrt/package/fprobe-ulog/Makefile b/openwrt/package/fprobe-ulog/Makefile
new file mode 100644
index 0000000..f5f3c53
--- /dev/null
+++ b/openwrt/package/fprobe-ulog/Makefile
@@ -0,0 +1,52 @@
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=fprobe-ulog
+PKG_VERSION:=1.1
+PKG_RELEASE:=1
+PKG_MD5SUM:=cdb2e4edc47e8a3d5479eeabfb979ebc
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=@SF/fprobe
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT:=bzcat
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,FPROBE_ULOG,fprobe-ulog,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ (cd $(PKG_BUILD_DIR) ; \
+ $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ ./configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=/usr \
+ --exec-prefix=/usr \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --libexecdir=/usr/lib \
+ --datadir=/usr/share \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --sysconfdir=/etc \
+ --with-piddir=/var \
+ --with-membulk=index8 \
+ --with-hash=xor8 \
+ $(DISABLE_NLS) \
+ )
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(MAKE) -C $(PKG_BUILD_DIR)
+ touch $@
+
+$(IPKG_FPROBE_ULOG):
+ mkdir -p $(IDIR_FPROBE_ULOG)/usr/bin
+ cp $(PKG_BUILD_DIR)/src/fprobe-ulog $(IDIR_FPROBE_ULOG)/usr/bin/
+ $(RSTRIP) $(IDIR_FPROBE_ULOG)
+ $(IPKG_BUILD) $(IDIR_FPROBE_ULOG) $(PACKAGE_DIR)