]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/popt
Zwischencommit fuer LFS.
[people/pmueller/ipfire-2.x.git] / lfs / popt
index 7ef4fe10a96f70c290cfded8594205fd21b2ae7d..780f36f11bb43457a01ee934a9fb73755cb76260 100644 (file)
--- a/lfs/popt
+++ b/lfs/popt
 # 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: popt,v 1.3.2.2 2005/02/05 15:38:15 gespinasse Exp $
-#                                                                             #
 ###############################################################################
 
 ###############################################################################
 
 include Config
 
-VER        = 1.7
+VER        = 1.10.4
 
 THISAPP    = popt-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x
+DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
@@ -48,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 5988e7aeb0ae4dac8d83561265984cc9
+$(DL_FILE)_MD5 = dd22a6873b43d00f75e1c1b7dcfd1ff7
 
 install : $(TARGET)
 
@@ -78,8 +72,10 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && sed -i -e "/*origOptString ==/c 0)" popt.c
+       cd $(DIR_APP) && autoreconf -f -i
        cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)