Skip to content

tcsh: Update to version 6.19.00, csh is now a symlink to tcsh #83

Merged
merged 1 commit into from
Sep 27, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions tcsh-6.18.01-0.bee → tcsh.be0
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/usr/bin/env beesh

# BEE_VERSION tcsh-6.19.00-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)

###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="ftp://ftp.funet.fi/pub/unix/shells/tcsh/tcsh-${PKGVERSION}.tar.gz"
SRCURL[0]="http://ftp.funet.fi/pub/mirrors/ftp.astron.com/pub/tcsh/tcsh-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
Expand Down Expand Up @@ -52,16 +54,18 @@ SRCURL[0]="ftp://ftp.funet.fi/pub/unix/shells/tcsh/tcsh-${PKGVERSION}.tar.gz"
#}

#mee_configure() {
# bee_configure
# bee_configure
#}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}
mee_install() {
bee_install
( cd "${D}"/"${BEE_BINDIR}"; ln -sv tcsh csh )
( cd "${D}"/"${MANDIR}/man1"; ln -sv tcsh.1 csh.1 )
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not put it into mee_install_post?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not symlink via ln -sv tcsh ${D}${BINDIR}/csh ? no subshell, no cd

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's a matter of personal preference. Is the csh link part of the installation or not?
Is install_post for fixups of the build or for fixups belonging to mariux?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'why not symlink...':
requires more brain, I'm never shure if your proposal is 'amd'-proof. The subshell way seems to me bullet-proof.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's a matter of personal preference. Is the csh link part of the installation or not?
Is install_post for fixups of the build or for fixups belonging to mariux?

It is indeed a matter of taste. I prefer mee_install_post as you do not have to repeat the bee_install line then.

}
## by default this may be 'make install DESTDIR="${D}"'

###############################################################################
Expand Down