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.
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 \
82 STDCXXFLAGS
="$(TARGET_CFLAGS) -fno-builtin" \
84 MAKE_FLAGS
+= optnoshared
86 define Build
/InstallDev
87 ln
-sf
$(PKG_NAME
)-$(PKG_VERSION
) $(BUILD_DIR
)/$(PKG_NAME
)
88 $(SED
) 's|//\(#include <ptlib/sound.h>\)|\1|' $(PKG_BUILD_DIR
)/include/ptlib.h
91 $(eval
$(call BuildPackage
,pwlib
))