# 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 $
-# #
###############################################################################
###############################################################################
THISAPP = cups-$(VER)-source
DL_FILE = $(THISAPP).tar.bz2
-DL_FROM = ftp://ftp.easysw.com/pub/cups/$(VER)
+DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/cups-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -i -e "s@pam/pam@security/pam@g" {config-scripts/cups-pam.m4,scheduler/auth.c,configure}
# cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/patches/cups-1.1.23-testsuite_fix-1.patch
- cd $(DIR_APP) && ./configure --disable-nls
+ cd $(DIR_APP) && ./configure --disable-nls --sysconfdir=/var/ipfire
cd $(DIR_APP) && make
# cd $(DIR_APP) && make check
cd $(DIR_APP) && make install