Skip to content

Instantly share code, notes, and snippets.

@Austcool-Walker
Forked from ptrv/build-zsh.sh
Created December 4, 2022 05:41
Show Gist options
  • Save Austcool-Walker/4ca4d7d3bb152c9b9e1d9e1745cfa205 to your computer and use it in GitHub Desktop.
Save Austcool-Walker/4ca4d7d3bb152c9b9e1d9e1745cfa205 to your computer and use it in GitHub Desktop.

Revisions

  1. @ptrv ptrv revised this gist Jul 7, 2011. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions build-zsh.sh
    Original file line number Diff line number Diff line change
    @@ -13,15 +13,15 @@ cd zsh

    # Options from Ubuntu Zsh package rules file (http://launchpad.net/ubuntu/+source/zsh)
    ./configure --prefix=/usr/local \
    --mandir=/usr/share/man \
    --mandir=/usr/local/share/man \
    --bindir=/bin \
    --infodir=/usr/share/info \
    --infodir=/usr/local/share/info \
    --enable-maildir-support \
    --enable-max-jobtable-size=256 \
    --enable-etcdir=/etc/zsh \
    --enable-function-subdirs \
    --enable-site-fndir=/usr/local/share/zsh/site-functions \
    --enable-fndir=/usr/share/zsh/functions \
    --enable-fndir=/usr/local/share/zsh/functions \
    --with-tcsetpgrp \
    --with-term-lib="ncursesw" \
    --enable-cap \
  2. @ptrv ptrv revised this gist Jul 7, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion build-zsh.sh
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ cd zsh
    ./Util/preconfig

    # Options from Ubuntu Zsh package rules file (http://launchpad.net/ubuntu/+source/zsh)
    ./configure --prefix=/usr \
    ./configure --prefix=/usr/local \
    --mandir=/usr/share/man \
    --bindir=/bin \
    --infodir=/usr/share/info \
  3. @nicoulaj nicoulaj revised this gist Nov 25, 2010. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion build-zsh.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    # From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.

    # Some packages may be missing
    sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev textinfo
    sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo

    git clone git://zsh.git.sf.net/gitroot/zsh/zsh

  4. @nicoulaj nicoulaj revised this gist Nov 25, 2010. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion build-zsh.sh
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    # From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.

    # Some packages may be missing
    sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo
    sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev textinfo

    git clone git://zsh.git.sf.net/gitroot/zsh/zsh

  5. @nicoulaj nicoulaj revised this gist Nov 25, 2010. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions build-zsh.sh
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,14 @@
    #!/bin/sh​
    # Build Zsh from sources on Ubuntu
    # Build Zsh from sources on Ubuntu.
    # From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.

    # Some packages may be missing
    sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo

    git clone git://zsh.git.sf.net/gitroot/zsh/zsh

    cd zsh

    # Some packages may be missing
    sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo

    ./Util/preconfig

    # Options from Ubuntu Zsh package rules file (http://launchpad.net/ubuntu/+source/zsh)
  6. @nicoulaj nicoulaj created this gist Nov 25, 2010.
    39 changes: 39 additions & 0 deletions build-zsh.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    #!/bin/sh​
    # Build Zsh from sources on Ubuntu
    # From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.

    git clone git://zsh.git.sf.net/gitroot/zsh/zsh

    cd zsh

    # Some packages may be missing
    sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo

    ./Util/preconfig

    # Options from Ubuntu Zsh package rules file (http://launchpad.net/ubuntu/+source/zsh)
    ./configure --prefix=/usr \
    --mandir=/usr/share/man \
    --bindir=/bin \
    --infodir=/usr/share/info \
    --enable-maildir-support \
    --enable-max-jobtable-size=256 \
    --enable-etcdir=/etc/zsh \
    --enable-function-subdirs \
    --enable-site-fndir=/usr/local/share/zsh/site-functions \
    --enable-fndir=/usr/share/zsh/functions \
    --with-tcsetpgrp \
    --with-term-lib="ncursesw" \
    --enable-cap \
    --enable-pcre \
    --enable-readnullcmd=pager \
    --enable-custom-patchlevel=Debian \
    LDFLAGS="-Wl,--as-needed -g"

    make

    make check

    sudo make install

    sudo make install.info