# Makefiles are based on LFSMake, which is #
# Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com> #
# #
-# Modifications by: #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com> #
-# - Modified Makefile for IPCop build #
-# #
-# $Id: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $
# #
###############################################################################
include Config
-VER = 1.5.2
+VER = Mimas_patch2-src-tar
-THISAPP = pwlib_$(VER)
-DL_FILE = $(THISAPP).tar.gz
-DL_FROM = http://www.openh323.org/bin
+THISAPP = pwlib-$(VER)
+DL_FILE = $(THISAPP).gz
+DL_FROM = $(URL_SFNET)/openh323
DIR_APP = $(DIR_SRC)/pwlib
TARGET = $(DIR_INFO)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 0fa33ba1b32b254abe0b731a52c0f2f9
+$(DL_FILE)_MD5 = 90edee9d894558f98f840c1972205218
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xf $(DIR_DL)/$(DL_FILE)
+ ln -sf -v $(DIR_SRC)/pwlib* $(DIR_APP)
+# mv -f $(DIR_SRC)/pwlib* $(DIR_SRC)/pwlib
+# mv -f /usr/include/ldap.h /
cd $(DIR_APP) && ./configure --prefix=/usr
+# mv -f /ldap.h /usr/include
cd $(DIR_APP) && make opt && make install
@$(POSTBUILD)