Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Shell script "alternative" to Homebrew powered by GNU Stow which works on OS X and Linux.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
libexec
script
share/dripper/definitions
test
.gitignore
MIT-LICENSE
Makefile
README.md

README.md

Dripper

Dripper is a collection of definitions to install software packages with stow, the GNU package manager.

Install

Using Git

Clone the repository and run the install script:

git clone git://github.com/fesplugas/dripper.git
cd dripper
script/install

Using the installer

curl -L https://raw.github.com/fesplugas/dripper/master/script/installer | bash

Usage

Common operations:

drip install redis-2.4.10
drip uninstall redis-2.4.10
drip unlink redis-2.4.10
drip link redis-2.4.10
drip path redis-2.4.10
drip update

You can get a list of all available commands by running drip.

Tips & Tricks

Imagine you have different projects with different requirements and want to load a different ruby version for each one. Familiar, right?

# Redefine `cd` to load environment variables from a `.env` file
# if exists.
function cd {
  builtin cd "$@"
  if [ -e ./.env ] ; then
    source ./.env
  fi
}

Now you can add a ruby to the load path by running:

drip path ruby-1.9.3-p125 > .env

Conventions

  • Sources are downloaded into /usr/local/src or $HOME/.packages/src.
  • Packages are compiled into /usr/local/stow or $HOME/.packages/stow.

TODO and Whishlist

  • Package and install from url.
  • Do not download a package if already in $SRC_PATH.
  • Do not allow to link the same package with different versions.
  • Better explanation on how to install hg.

Acknowledgements

Thanks to Homebrew, it's an awesome tool. As and stow user I always wanted to do something similar and Homebrew has inspired many of the commands used by Dripper.

Thanks to ruby-build and rbenv, project organization has been heavily inspired by them. Also some "helpers" used in drip-helper have been copied from rbenv.

Something went wrong with that request. Please try again.