From 372969e3b5d33078b86a8d6532e54cc3c4619214 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 10 Jul 2005 12:05:29 +0000 Subject: Add fprobe-ulog package git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1392 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/fprobe-ulog/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 package/fprobe-ulog/Makefile (limited to 'package/fprobe-ulog/Makefile') diff --git a/package/fprobe-ulog/Makefile b/package/fprobe-ulog/Makefile new file mode 100644 index 000000000..f5f3c53f6 --- /dev/null +++ b/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) -- cgit v1.2.3