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
12 PKG_VERSION
:=cvs-20051227
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://trash.uid0.hu
/openwrt
17 PKG_MD5SUM
:=7d5b8e9ab61a05658a5630f91505420d
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=Portable Windows library
29 DESCRIPTION
:=Portable Windows library.
30 URL
:=http
://www.openh323.org
/
33 define Build
/Configure
34 ( cd
$(PKG_BUILD_DIR
); rm -f config.cache
; \
35 CFLAGS
="$(TARGET_CFLAGS)" \
36 CXXFLAGS
="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
37 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
38 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
39 $(TARGET_CONFIGURE_OPTS
) \
41 --target
=$(GNU_TARGET_NAME
) \
42 --host
=$(GNU_TARGET_NAME
) \
43 --build
=$(GNU_HOST_NAME
) \
49 --datadir=/usr
/share \
50 --includedir=/usr
/include \
51 --infodir=/usr
/share
/info \
53 --libexecdir
=/usr
/lib \
54 --localstatedir
=/var \
55 --mandir=/usr
/share
/man \
58 $(DISABLE_LARGEFILE
) \
64 --disable-internalregex \
107 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
108 $(TARGET_CONFIGURE_OPTS
) \
112 define Build
/InstallDev
113 ln
-sf
$(PKG_NAME
)-$(PKG_VERSION
) $(BUILD_DIR
)/$(PKG_NAME
)
116 define Build
/UninstallDev
117 rm -rf
$(BUILD_DIR
)/$(PKG_NAME
)
120 $(eval
$(call BuildPackage
,pwlib
))