066abed08bff9b49f2a16372eee70eb39f10fa08
[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:=1.11.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=ftp://peternixon.net/pub/voxgratia
17 PKG_MD5SUM:=e1102dfd2608e3a117a2e016d0db53e3
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/pwlib-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/pwlib
24 SECTION:=libs
25 CATEGORY:=Libraries
26 DEPENDS:=+libpthread +uclibcxx
27 TITLE:=Portable Windows library
28 URL:=http://www.voxgratia.org/
29 endef
30
31 define Package/pwlib/description
32 PWLib is a moderately large class library that was created as a
33 method to produce applications that run on both Microsoft
34 Windows and the X Window System.
35 endef
36
37 CONFIGURE_ARGS += \
38 --enable-minsize \
39 --enable-openh323 \
40 --enable-opal \
41 --disable-internalregex \
42 --disable-plugins \
43 --enable-audio \
44 --disable-alsa \
45 --enable-asn \
46 --disable-avc \
47 --disable-dc \
48 --disable-dtmf \
49 --disable-expat \
50 --disable-ftp \
51 --enable-http \
52 --disable-httpsvc \
53 --disable-ipv6 \
54 --disable-jabber \
55 --disable-openldap \
56 --disable-openssl \
57 --disable-oss \
58 --disable-pipechan \
59 --disable-pop3smtp \
60 --disable-remconn \
61 --disable-resolver \
62 --disable-qos \
63 --disable-sasl \
64 --disable-sdl \
65 --disable-serial \
66 --disable-shm-video \
67 --disable-snmp \
68 --disable-soap \
69 --disable-socks \
70 --enable-stun \
71 --disable-telnet \
72 --disable-tts \
73 --disable-v4l \
74 --disable-v4l2 \
75 --disable-bsdvideo \
76 --disable-video \
77 --disable-vxml \
78 --disable-wavfile \
79 --disable-xmlrpc
80
81 CONFIGURE_VARS += \
82 CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti"
83
84 MAKE_FLAGS += optnoshared
85
86 define Build/InstallDev
87 ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
88 endef
89
90 define Build/UninstallDev
91 rm -rf $(BUILD_DIR)/$(PKG_NAME)
92 endef
93
94 $(eval $(call BuildPackage,pwlib))