[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a formula for Homebrew

From: Wesley Viana
Subject: Creating a formula for Homebrew
Date: Thu, 8 Feb 2018 00:28:18 -0200


I was depending on gnulib for building a project from github.

The first thing that I've done was to search on brew (a macOS package manager) for it.

Searching on web I've found the gnulib website.

So I've followed the instructions as in site, and after cloning the repository, just placed the repo folder into my PATH temporarily by a `PATH="$PWD:$PATH".

Then I was able to procede with what I was trying to compile.

So I was wondering how to contribute by "packing" gnulib into a brew formula.

I was reading https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md

But in Grap the URL session, I was unable to realize where could I take a a specific version snapshot  zip.

Browsing your Savanah repository, I was able to find this snapshot zip link snapshot.

And by running `gnulib-tools --version` I've got a "gnulib-tool (GNU gnulib 2018-02-04)"

So I wonder to check the tags and try to snapshot it,  but notice that the most recent tag was 4 years old.

My understanding is the brew would like to have a new formula for each new version.

How could we create this formula? How could I help?


- English is not my first language.
- This is the first time I'm trying to contribute into some free software / open source.
- I've never created a brew formula before
- I don't event totally understand what gnulib-tool is totally about, but as it was simple to get working I thought it would be simple to create a formula and help others.

Wesley Viana,
Skype: viana.wesley
Twitter: @wviana

reply via email to

[Prev in Thread] Current Thread [Next in Thread]