2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=ftp
://peternixon.net
/pub
/voxgratia
16 PKG_MD5SUM
:=e1102dfd2608e3a117a2e016d0db53e3
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/pwlib-
$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=Portable Windows library
26 URL
:=http
://www.voxgratia.org
/
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
35 TARGET_CFLAGS
+= $(FPIC
)
41 --disable-internalregex \
81 STDCXXFLAGS
="$(TARGET_CFLAGS) -fno-builtin" \
83 MAKE_FLAGS
+= optnoshared
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
90 $(eval
$(call BuildPackage
,pwlib
))