Updated to latest tmsnc version 0.3.1
[openwrt.git] / openwrt / package / fprobe-ulog / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=fprobe-ulog
6 PKG_VERSION:=1.1
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=cdb2e4edc47e8a3d5479eeabfb979ebc
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_ULOG,fprobe-ulog,$(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-membulk=index8 \
39 --with-hash=xor8 \
40 $(DISABLE_NLS) \
41 )
42 touch $@
43
44 $(PKG_BUILD_DIR)/.built:
45 $(MAKE) -C $(PKG_BUILD_DIR)
46 touch $@
47
48 $(IPKG_FPROBE_ULOG):
49 mkdir -p $(IDIR_FPROBE_ULOG)/usr/bin
50 cp $(PKG_BUILD_DIR)/src/fprobe-ulog $(IDIR_FPROBE_ULOG)/usr/bin/
51 $(RSTRIP) $(IDIR_FPROBE_ULOG)
52 $(IPKG_BUILD) $(IDIR_FPROBE_ULOG) $(PACKAGE_DIR)
This page took 0.041466 seconds and 5 git commands to generate.