update ulogd to v1.24, add a -mod-sqlite output plugin.
[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
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,OPENH323,openh323,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 ( cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
22 CFLAGS="$(TARGET_CFLAGS)" \
23 CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
24 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
25 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
26 $(TARGET_CONFIGURE_OPTS) \
27 ./configure \
28 --target=$(GNU_TARGET_NAME) \
29 --host=$(GNU_TARGET_NAME) \
30 --build=$(GNU_HOST_NAME) \
31 --program-prefix="" \
32 --program-suffix="" \
33 --prefix=/usr \
34 --exec-prefix=/usr \
35 --bindir=/usr/bin \
36 --datadir=/usr/share \
37 --includedir=/usr/include \
38 --infodir=/usr/share/info \
39 --libdir=/usr/lib \
40 --libexecdir=/usr/lib \
41 --localstatedir=/var \
42 --mandir=/usr/share/man \
43 --sbindir=/usr/sbin \
44 --sysconfdir=/etc \
45 $(DISABLE_LARGEFILE) \
46 $(DISABLE_NLS) \
47 \
48 --enable-minsize \
49 --enable-audio \
50 --disable-video \
51 );
52 touch $@
53
54
55 $(PKG_BUILD_DIR)/.built:
56 $(MAKE) -C $(PKG_BUILD_DIR) \
57 $(TARGET_CONFIGURE_OPTS) \
58 optnoshared
59 touch $@
60
61 install-link:
62 ln -s $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
63
64 uninstall-link:
65 rm -rf $(BUILD_DIR)/$(PKG_NAME)
66
67 compile-targets: $(PKG_BUILD_DIR)/.built install-link
68 clean-targets: uninstall-link
This page took 0.047559 seconds and 5 git commands to generate.