X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Flcr;h=321be97ed2cdc68f6bfc18c3c9741b1c63c3a2f4;hb=24247159dd2d757690798f93e40499e217fee58a;hp=8b4e04b740f4bc99f24b97e591e6977144421797;hpb=846e756e16f9f08e0d797473e40d836d747923f1;p=ipfire-2.x.git diff --git a/lfs/lcr b/lfs/lcr index 8b4e04b740..321be97ed2 100644 --- a/lfs/lcr +++ b/lfs/lcr @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team # +# Copyright (C) 2007-2012 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,16 +24,15 @@ include Config -VER = 20100601 +VER = 20140403 THISAPP = lcr-$(VER) -DL_FILE = $(THISAPP).tar.gz +DL_FILE = $(THISAPP).tar.xz DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) -SUP_ARCH = i586 PROG = lcr -PAK_VER = 3 +PAK_VER = 6 DEPS = "" @@ -45,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 68ccdcbe741df38c0f79d14c1b5473f5 +$(DL_FILE)_MD5 = c81c5862d51720a3efc06fd2c02cd58d install : $(TARGET) @@ -77,10 +76,14 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_SRC)/lcr && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_SRC)/lcr && sed -i 's|usr/local/lcr|var/ipfire/lcr|g' Makefile.in - cd $(DIR_SRC)/lcr && sed -i 's|usr/local/lcr|var/ipfire/lcr|g' Makefile.am - cd $(DIR_SRC)/lcr && ./configure --prefix=/usr + @rm -rf $(DIR_SRC)/lcr && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_SRC)/lcr && sed -i -e "s|^EXTENSIONdir=.*|EXTENSIONdir=/var/ipfire/lcr/extensions|g" Makefile.am + cd $(DIR_SRC)/lcr && sed -i -e "s|-D_GNU_SOURCE|-D_GNU_SOURCE -DASTERISK_VERSION_NUM=110000|g" Makefile.am + cd $(DIR_SRC)/lcr && ./autogen.sh + cd $(DIR_SRC)/lcr && ./configure --prefix=/usr \ + --sysconfdir=/var/ipfire \ + --localstatedir=/var \ + --datarootdir=/var/ipfire cd $(DIR_SRC)/lcr && make $(MAKETUNING) cd $(DIR_SRC)/lcr && make install mv /var/ipfire/lcr/routing.conf /var/ipfire/lcr/routing.conf.org