2 # Copyright (C) 2006 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 DEPENDS
:=+libpthread
+uclibcxx
27 TITLE
:=Portable Windows library
28 URL
:=http
://www.voxgratia.org
/
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.
41 --disable-internalregex \
82 CXXFLAGS
="$(TARGET_CFLAGS) -fno-builtin -fno-rtti"
84 MAKE_FLAGS
+= optnoshared
86 define Build
/InstallDev
87 ln
-sf
$(PKG_NAME
)-$(PKG_VERSION
) $(BUILD_DIR
)/$(PKG_NAME
)
90 define Build
/UninstallDev
91 rm -rf
$(BUILD_DIR
)/$(PKG_NAME
)
94 $(eval
$(call BuildPackage
,pwlib
))