enable asn & http (required for asterisk-1.4.x)
[openwrt/svn-archive/archive.git] / libs / pwlib / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=pwlib
12 PKG_VERSION:=cvs-20051227
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://trash.uid0.hu/openwrt
17 PKG_MD5SUM:=7d5b8e9ab61a05658a5630f91505420d
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/pwlib
22 SECTION:=libs
23 CATEGORY:=Libraries
24 DEPENDS:=+libpthread +uclibcxx
25 TITLE:=Portable Windows library
26 URL:=http://www.openh323.org/
27 endef
28
29 CONFIGURE_ARGS += \
30 --enable-minsize \
31 --enable-openh323 \
32 --disable-opal \
33 --disable-internalregex \
34 --disable-plugins \
35 --enable-audio \
36 --disable-alsa \
37 --enable-asn \
38 --disable-avc \
39 --disable-dc \
40 --disable-dtmf \
41 --disable-expat \
42 --disable-ftp \
43 --enable-http \
44 --disable-httpsvc \
45 --disable-ipv6 \
46 --disable-jabber \
47 --disable-openldap \
48 --disable-openssl \
49 --disable-oss \
50 --disable-pipechan \
51 --disable-pop3smtp \
52 --disable-remconn \
53 --disable-resolver \
54 --disable-qos \
55 --disable-sasl \
56 --disable-sdl \
57 --disable-serial \
58 --disable-shm-video \
59 --disable-snmp \
60 --disable-soap \
61 --disable-socks \
62 --disable-stun \
63 --disable-telnet \
64 --disable-tts \
65 --disable-v4l \
66 --disable-v4l2 \
67 --disable-bsdvideo \
68 --disable-video \
69 --disable-vxml \
70 --disable-wavfile \
71 --disable-xmlrpc
72
73 CONFIGURE_VARS += \
74 CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti"
75
76 MAKE_FLAGS += optnoshared
77
78 define Build/InstallDev
79 ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
80 endef
81
82 define Build/UninstallDev
83 rm -rf $(BUILD_DIR)/$(PKG_NAME)
84 endef
85
86 $(eval $(call BuildPackage,pwlib))