[packages] lftp: update to 4.1.1, use g++-uc, remove stdc++ hack, use tabs rather...
[openwrt/svn-archive/archive.git] / libs / pwlib / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pwlib
11 PKG_VERSION:=1.11.1
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=ftp://peternixon.net/pub/voxgratia
16 PKG_MD5SUM:=e1102dfd2608e3a117a2e016d0db53e3
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/pwlib-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/pwlib
23 SECTION:=libs
24 CATEGORY:=Libraries
25 TITLE:=Portable Windows library
26 URL:=http://www.voxgratia.org/
27 endef
28
29 define Package/pwlib/description
30 PWLib is a moderately large class library that was created as a method to
31 produce applications that run on both Microsoft Windows and the X Window
32 System.
33 endef
34
35 TARGET_CFLAGS += $(FPIC)
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-jabber \
54 --disable-openldap \
55 --disable-openssl \
56 --disable-oss \
57 --disable-pipechan \
58 --disable-pop3smtp \
59 --disable-remconn \
60 --disable-resolver \
61 --disable-qos \
62 --disable-sasl \
63 --disable-sdl \
64 --disable-serial \
65 --disable-shm-video \
66 --disable-snmp \
67 --disable-soap \
68 --disable-socks \
69 --enable-stun \
70 --disable-telnet \
71 --disable-tts \
72 --disable-v4l \
73 --disable-v4l2 \
74 --disable-bsdvideo \
75 --disable-video \
76 --disable-vxml \
77 --disable-wavfile \
78 --disable-xmlrpc \
79
80 CONFIGURE_VARS += \
81 STDCXXFLAGS="$(TARGET_CFLAGS) -fno-builtin" \
82
83 MAKE_FLAGS += optnoshared
84
85 define Build/InstallDev
86 ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
87 $(SED) 's|//\(#include <ptlib/sound.h>\)|\1|' $(PKG_BUILD_DIR)/include/ptlib.h
88 endef
89
90 $(eval $(call BuildPackage,pwlib))