benibela / xidel

Command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern matching. It can also create new or transformed XML/HTML/JSON documents.
http://www.videlibri.de/xidel.html
GNU General Public License v3.0
681 stars 42 forks source link

xidel in homebrew #14

Closed paul-hammant closed 6 years ago

paul-hammant commented 7 years ago

Mac's homebrew package manager has a simple ruby DSL for installation of bits and pieces.

Here's one for ack that is relatively simple - https://github.com/Homebrew/homebrew-core/blob/master/Formula/ack.rb

benibela commented 7 years ago

In the meantime Michael Klement has update the mac-build instructions: https://www.evernote.com/shard/s69/sh/ff1e78f3-a369-4855-b18f-6184ce789c45/f3511927d0fb356ce883835f2eb712e0

benibela commented 6 years ago

First attempt: https://github.com/Homebrew/homebrew-core/pull/27149

paul-hammant commented 6 years ago

I can confirm this works for me:

brew install https://raw.githubusercontent.com/benibela/homebrew-core/d6dedb62d78832db389ec1fe0903f2b509ebe1cc/Formula/xidel.rb

yields a functioning xidel.

benibela commented 6 years ago

It is done. The final issue can be closed