2 # Copyright (C) 2006-2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=ftp://peternixon.net/pub/voxgratia
17 PKG_MD5SUM:=e1102dfd2608e3a117a2e016d0db53e3
19 PKG_BUILD_DIR:=$(BUILD_DIR)/pwlib-$(PKG_VERSION)
21 include $(INCLUDE_DIR)/package.mk
26 TITLE:=Portable Windows library
27 URL:=http://www.voxgratia.org/
30 define Package/pwlib/description
31 PWLib is a moderately large class library that was created as a method to
32 produce applications that run on both Microsoft Windows and the X Window
36 TARGET_CFLAGS += $(FPIC)
42 --disable-internalregex \
83 STDCXXFLAGS="$(TARGET_CFLAGS) -fno-builtin" \
85 MAKE_FLAGS += optnoshared
87 define Build/InstallDev
88 ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
89 $(SED) 's|//\(#include <ptlib/sound.h>\)|\1|' $(PKG_BUILD_DIR)/include/ptlib.h
92 $(eval $(call BuildPackage,pwlib))