Difference between revisions of "Tcsh"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
Chipster19 (talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://gd.tuwien.ac.at/utils/shells/tcsh/tcsh- | + | | http://gd.tuwien.ac.at/utils/shells/tcsh/tcsh-{{Tcsh-Version}}.tar.gz |
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/tcsh/tcsh- | + | | http://svn.cross-lfs.org/svn/repos/patches/tcsh/tcsh-{{Tcsh-Version}}-colorls_compat-2.patch |
|} | |} | ||
---- | ---- | ||
− | + | {{Package-Introduction|The Tcsh package contains “an enhanced but completely compatible version of the Berkeley Unix C shell ('''csh''')”. This is useful as an alternative shell for those who prefer C syntax to that of the '''bash''' shell, and also because some programs require the C shell in order to perform installation tasks.}} | |
− | |||
− | The Tcsh package contains “an enhanced but completely compatible version of the Berkeley Unix C shell ('''csh''')”. This is useful as an alternative shell for those who prefer C syntax to that of the '''bash''' shell, and also because some programs require the C shell in order to perform installation tasks. | ||
== Dependencies == | == Dependencies == | ||
Line 20: | Line 18: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../tcsh- | + | patch -Np1 -i ../tcsh-{{Tcsh-Version}}-colorls_compat-2.patch && |
./configure --prefix=/usr --bindir=/bin && | ./configure --prefix=/usr --bindir=/bin && | ||
make && | make && | ||
Line 31: | Line 29: | ||
ln -v -sf tcsh /bin/csh && | ln -v -sf tcsh /bin/csh && | ||
ln -v -sf tcsh.1 /usr/man/man1/csh.1 && | ln -v -sf tcsh.1 /usr/man/man1/csh.1 && | ||
− | install -v -m755 -d /usr/share/doc/tcsh- | + | install -v -m755 -d /usr/share/doc/tcsh-{{Tcsh-Version}}/html && |
− | install -v -m644 tcsh.html/* /usr/share/doc/tcsh- | + | install -v -m644 tcsh.html/* /usr/share/doc/tcsh-{{Tcsh-Version}}/html && |
− | install -v -m644 FAQ /usr/share/doc/tcsh- | + | install -v -m644 FAQ /usr/share/doc/tcsh-{{Tcsh-Version}} |
== Multilib == | == Multilib == | ||
Line 42: | Line 40: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../tcsh- | + | patch -Np1 -i ../tcsh-{{Tcsh-Version}}-colorls_compat-2.patch && |
CC="gcc ${BUILD32}" ./configure --prefix=/usr --bindir=/bin && | CC="gcc ${BUILD32}" ./configure --prefix=/usr --bindir=/bin && | ||
make && | make && | ||
Line 53: | Line 51: | ||
ln -v -sf tcsh /bin/csh && | ln -v -sf tcsh /bin/csh && | ||
ln -v -sf tcsh.1 /usr/man/man1/csh.1 && | ln -v -sf tcsh.1 /usr/man/man1/csh.1 && | ||
− | install -v -m755 -d /usr/share/doc/tcsh- | + | install -v -m755 -d /usr/share/doc/tcsh-{{Tcsh-Version}}/html && |
− | install -v -m644 tcsh.html/* /usr/share/doc/tcsh- | + | install -v -m644 tcsh.html/* /usr/share/doc/tcsh-{{Tcsh-Version}}/html && |
− | install -v -m644 FAQ /usr/share/doc/tcsh- | + | install -v -m644 FAQ /usr/share/doc/tcsh-{{Tcsh-Version}} |
=== N32 === | === N32 === | ||
Line 61: | Line 59: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../tcsh- | + | patch -Np1 -i ../tcsh-{{Tcsh-Version}}-colorls_compat-2.patch && |
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --bindir=/bin && | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --bindir=/bin && | ||
make && | make && | ||
Line 72: | Line 70: | ||
ln -v -sf tcsh /bin/csh && | ln -v -sf tcsh /bin/csh && | ||
ln -v -sf tcsh.1 /usr/man/man1/csh.1 && | ln -v -sf tcsh.1 /usr/man/man1/csh.1 && | ||
− | install -v -m755 -d /usr/share/doc/tcsh- | + | install -v -m755 -d /usr/share/doc/tcsh-{{Tcsh-Version}}/html && |
− | install -v -m644 tcsh.html/* /usr/share/doc/tcsh- | + | install -v -m644 tcsh.html/* /usr/share/doc/tcsh-{{Tcsh-Version}}/html && |
− | install -v -m644 FAQ /usr/share/doc/tcsh- | + | install -v -m644 FAQ /usr/share/doc/tcsh-{{Tcsh-Version}} |
=== 64Bit === | === 64Bit === | ||
Line 80: | Line 78: | ||
Compile the package: | Compile the package: | ||
− | patch -Np1 -i ../tcsh- | + | patch -Np1 -i ../tcsh-{{Tcsh-Version}}-colorls_compat-2.patch && |
CC="gcc ${BUILD64}" ./configure --prefix=/usr --bindir=/bin && | CC="gcc ${BUILD64}" ./configure --prefix=/usr --bindir=/bin && | ||
make && | make && | ||
Line 91: | Line 89: | ||
ln -v -sf tcsh /bin/csh && | ln -v -sf tcsh /bin/csh && | ||
ln -v -sf tcsh.1 /usr/man/man1/csh.1 && | ln -v -sf tcsh.1 /usr/man/man1/csh.1 && | ||
− | install -v -m755 -d /usr/share/doc/tcsh- | + | install -v -m755 -d /usr/share/doc/tcsh-{{Tcsh-Version}}/html && |
− | install -v -m644 tcsh.html/* /usr/share/doc/tcsh- | + | install -v -m644 tcsh.html/* /usr/share/doc/tcsh-{{Tcsh-Version}}/html && |
− | install -v -m644 FAQ /usr/share/doc/tcsh- | + | install -v -m644 FAQ /usr/share/doc/tcsh-{{Tcsh-Version}} |
+ | |||
+ | [[Category:Shells]] |
Latest revision as of 07:14, 27 November 2009
Download Source: | http://gd.tuwien.ac.at/utils/shells/tcsh/tcsh-6.16.00.tar.gz |
---|---|
Required Patch: | http://svn.cross-lfs.org/svn/repos/patches/tcsh/tcsh-6.16.00-colorls_compat-2.patch |
Contents
Introduction to Tcsh
The Tcsh package contains “an enhanced but completely compatible version of the Berkeley Unix C shell (csh)”. This is useful as an alternative shell for those who prefer C syntax to that of the bash shell, and also because some programs require the C shell in order to perform installation tasks.
Project Homepage: Unknown
Dependencies
Non-Multilib
Compile the package:
patch -Np1 -i ../tcsh-6.16.00-colorls_compat-2.patch && ./configure --prefix=/usr --bindir=/bin && make && sh ./tcsh.man2html
Install the package
make install && make install.man && ln -v -sf tcsh /bin/csh && ln -v -sf tcsh.1 /usr/man/man1/csh.1 && install -v -m755 -d /usr/share/doc/tcsh-6.16.00/html && install -v -m644 tcsh.html/* /usr/share/doc/tcsh-6.16.00/html && install -v -m644 FAQ /usr/share/doc/tcsh-6.16.00
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
patch -Np1 -i ../tcsh-6.16.00-colorls_compat-2.patch && CC="gcc ${BUILD32}" ./configure --prefix=/usr --bindir=/bin && make && sh ./tcsh.man2html
Install the package
make install && make install.man && ln -v -sf tcsh /bin/csh && ln -v -sf tcsh.1 /usr/man/man1/csh.1 && install -v -m755 -d /usr/share/doc/tcsh-6.16.00/html && install -v -m644 tcsh.html/* /usr/share/doc/tcsh-6.16.00/html && install -v -m644 FAQ /usr/share/doc/tcsh-6.16.00
N32
Compile the package:
patch -Np1 -i ../tcsh-6.16.00-colorls_compat-2.patch && CC="gcc ${BUILDN32}" ./configure --prefix=/usr --bindir=/bin && make && sh ./tcsh.man2html
Install the package
make install && make install.man && ln -v -sf tcsh /bin/csh && ln -v -sf tcsh.1 /usr/man/man1/csh.1 && install -v -m755 -d /usr/share/doc/tcsh-6.16.00/html && install -v -m644 tcsh.html/* /usr/share/doc/tcsh-6.16.00/html && install -v -m644 FAQ /usr/share/doc/tcsh-6.16.00
64Bit
Compile the package:
patch -Np1 -i ../tcsh-6.16.00-colorls_compat-2.patch && CC="gcc ${BUILD64}" ./configure --prefix=/usr --bindir=/bin && make && sh ./tcsh.man2html
Install the package
make install && make install.man && ln -v -sf tcsh /bin/csh && ln -v -sf tcsh.1 /usr/man/man1/csh.1 && install -v -m755 -d /usr/share/doc/tcsh-6.16.00/html && install -v -m644 tcsh.html/* /usr/share/doc/tcsh-6.16.00/html && install -v -m644 FAQ /usr/share/doc/tcsh-6.16.00