Zwischencommit fuer LFS. Noch zahlreiche Errors :(

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@323 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2006-10-14 21:10:36 +00:00
parent 7b9e5f10cc
commit fe6d84cbb5
10 changed files with 39 additions and 88 deletions

View File

@@ -18,12 +18,6 @@
# 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: nano,v 1.3.2.3 2005/02/05 15:38:15 gespinasse Exp $
# #
###############################################################################
###############################################################################
@@ -32,11 +26,11 @@
include Config
VER = 1.2.4
VER = 1.2.5
THISAPP = nano-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FROM = http://www.nano-editor.org/dist/v1.2
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 = 2c513310ec5e8b63abaecaf48670ac7a
$(DL_FILE)_MD5 = f2b3efbf1cf356d736740d531b6b22c4
install : $(TARGET)
@@ -78,9 +72,11 @@ $(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) && ./configure --prefix=/usr --disable-nls --enable-tiny
cd $(DIR_APP) && make
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc/nano \
--enable-color --enable-multibuffer --enable-nanorc --disable-nls
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
cd $(DIR_APP) && install -v -m644 -D nanorc.sample /etc/nano/nanorc.sample
ln -sf /usr/bin/nano /usr/bin/pico
@rm -rf $(DIR_APP)
@$(POSTBUILD)