update snort to 2.4.4 (thanks to Richard Nadeau)
[openwrt.git] / openwrt / package / openh323 / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=openh323
6 PKG_VERSION:=cvs-20051230
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=ba1ffd45016f533bec2bb1539b78e43a
9
10 PKG_SOURCE_URL:=http://trash.uid0.hu/openwrt/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,OPENH323,openh323,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 rm -rf $(PKG_INSTALL_DIR);
23 mkdir -p $(PKG_INSTALL_DIR);
24 ln -s $(PKG_BUILD_DIR)/../pwlib-cvs-20051227 $(PKG_BUILD_DIR)/../pwlib;
25 cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
26 CFLAGS="$(TARGET_CFLAGS)" \
27 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
28 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
29 PWLIBDIR="$(STAGING_DIR)" \
30 ./configure \
31 --prefix=$(STAGING_DIR) \
32 --target=$(GNU_TARGET_NAME) \
33 --host=$(GNU_TARGET_NAME) \
34 --build=$(GNU_HOST_NAME) \
35 cd $(PKG_BUILD_DIR)/plugins; rm -rf config.{cache,status}; \
36 CFLAGS="$(TARGET_CFLAGS)" \
37 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
38 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
39 PWLIBDIR="$(STAGING_DIR)" \
40 ./configure \
41 --prefix=$(STAGING_DIR)
42 touch $@
43
44 $(PKG_BUILD_DIR)/.built:
45 CFLAGS="$(TARGET_CFLAGS)" \
46 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
47 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
48 PWLIBDIR="$(PKG_BUILD_DIR)/../pwlib-cvs-20051227/" \
49 $(MAKE) -C $(PKG_BUILD_DIR)/plugins $(TARGET_CONFIGURE_OPTS)
50
51 CFLAGS="$(TARGET_CFLAGS)" \
52 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
53 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
54 PWLIBDIR="$(PKG_BUILD_DIR)/../pwlib-cvs-20051227/" \
55 $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) opt install
56 touch $@
This page took 0.051165 seconds and 5 git commands to generate.