From 245e26c9d618422a90a7a33aafa4fdb46ea838c3 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 5 Sep 2009 04:11:29 +0200 Subject: [PATCH] Add Addon joe-editor Initial release of the editor joe addon package. This commit includes all the required changes for joe to compile and work. --- config/rootfiles/packages/joe | 71 +++++++++++++++++++++++++++++ doc/packages-list.txt | 1 + lfs/joe | 84 +++++++++++++++++++++++++++++++++++ make.sh | 1 + 4 files changed, 157 insertions(+) create mode 100644 config/rootfiles/packages/joe create mode 100644 lfs/joe diff --git a/config/rootfiles/packages/joe b/config/rootfiles/packages/joe new file mode 100644 index 0000000000..ec0e0e26d5 --- /dev/null +++ b/config/rootfiles/packages/joe @@ -0,0 +1,71 @@ +usr/bin/joe +usr/bin/rjoe +usr/share/doc/joe +usr/share/doc/joe/LIST +usr/share/doc/joe/README +usr/share/doc/joe/HINTS +usr/share/doc/joe/ChangeLog +usr/share/doc/joe/HACKING +usr/share/doc/joe/NEWS +usr/share/man/man1/joe.1 +usr/share/man/ru/man1/joe.1 +usr/share/joe +usr/share/joe/lang +usr/share/joe/lang/ru.po +usr/share/joe/lang/de.po +usr/share/joe/lang/fr.po +usr/share/joe/lang/uk.po +usr/share/joe/syntax +usr/share/joe/syntax/c.jsf +usr/share/joe/syntax/perl.jsf +usr/share/joe/syntax/verilog.jsf +usr/share/joe/syntax/conf.jsf +usr/share/joe/syntax/python.jsf +usr/share/joe/syntax/php.jsf +usr/share/joe/syntax/sh.jsf +usr/share/joe/syntax/mail.jsf +usr/share/joe/syntax/pascal.jsf +usr/share/joe/syntax/html.jsf +usr/share/joe/syntax/vhdl.jsf +usr/share/joe/syntax/fortran.jsf +usr/share/joe/syntax/java.jsf +usr/share/joe/syntax/xml.jsf +usr/share/joe/syntax/tcl.jsf +usr/share/joe/syntax/lisp.jsf +usr/share/joe/syntax/csh.jsf +usr/share/joe/syntax/mason.jsf +usr/share/joe/syntax/diff.jsf +usr/share/joe/syntax/asm.jsf +usr/share/joe/syntax/tex.jsf +usr/share/joe/syntax/css.jsf +usr/share/joe/syntax/ocaml.jsf +usr/share/joe/syntax/4gl.jsf +usr/share/joe/syntax/sml.jsf +usr/share/joe/syntax/sql.jsf +usr/share/joe/syntax/awk.jsf +usr/share/joe/syntax/cobol.jsf +usr/share/joe/syntax/sed.jsf +usr/share/joe/syntax/ps.jsf +usr/share/joe/syntax/ada.jsf +usr/share/joe/syntax/troff.jsf +usr/share/joe/syntax/haskell.jsf +usr/share/joe/syntax/rexx.jsf +usr/share/joe/syntax/skill.jsf +usr/share/joe/syntax/lua.jsf +usr/share/joe/syntax/ruby.jsf +usr/share/joe/syntax/m4.jsf +usr/share/joe/syntax/joerc.jsf +usr/share/joe/syntax/spec.jsf +usr/share/joe/syntax/matlab.jsf +usr/share/joe/syntax/jsf.jsf +usr/share/joe/syntax/jsf_check.jsf +usr/share/joe/charmaps +usr/share/joe/charmaps/klingon +usr/etc/joe +usr/etc/joe/joerc +usr/etc/joe/jicerc.ru +usr/etc/joe/jmacsrc +usr/etc/joe/jstarrc +usr/etc/joe/rjoerc +usr/etc/joe/jpicorc +usr/etc/joe/ftyperc diff --git a/doc/packages-list.txt b/doc/packages-list.txt index eefe815377..030897c919 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -153,6 +153,7 @@ * iputils-ss020927 * iw-0.9.15 * java-1.6.0_12-for-ipfire +* joe-3.7 * jpegsrc.v6b * kbd-1.12 * klibc-1.5.14 diff --git a/lfs/joe b/lfs/joe new file mode 100644 index 0000000000..96b215693a --- /dev/null +++ b/lfs/joe @@ -0,0 +1,84 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# 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 # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 3.7 + +THISAPP = joe-$(VER) +DL_FILE = $(THISAPP).tar.gz +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = joe +PAK_VER = 0 + +DEPS = "" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 66de1b073e869ba12abbfcde3885c577 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(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 + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 2e2e3a9ea2..512aba76c4 100755 --- a/make.sh +++ b/make.sh @@ -622,6 +622,7 @@ buildipfire() { ipfiremake nagiosql ipfiremake iftop ipfiremake motion + ipfiremake joe echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild echo >> $BASEDIR/build/var/ipfire/firebuild -- 2.39.2