Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

added ppl-1.1 #40986

Closed
wants to merge 4 commits into from
Closed

added ppl-1.1 #40986

wants to merge 4 commits into from

Conversation

UnixJunkie
Copy link

No description provided.

class Ppl < Formula
desc "Parma Polyhedra Library"
homepage "http://bugseng.com/products/ppl"
url "ftp://ftp.cs.unipr.it/pub/ppl/releases/1.1/ppl-1.1.tar.xz"
Copy link
Contributor

Choose a reason for hiding this comment

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

http is preferred over ftp; I'd suggest to use this url:
http://bugseng.com/products/ppl/download/ftp/releases/1.1/ppl-1.1.tar.xz

@UnixJunkie
Copy link
Author

OK, I took all comments into account

"--prefix=#{prefix}"
system "make", "install"
end
end
Copy link
Member

Choose a reason for hiding this comment

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

Can a test be added to do something more substantial than e.g. --version or --help? See cmake.rb for an example of an application formula with a good test and tinyxml2.rb for an example of a library formula with a good test. Thanks!

Copy link
Author

Choose a reason for hiding this comment

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

I don't know how to do this: you would have to go where the software was compiled and run 'make check'.

Copy link
Member

Choose a reason for hiding this comment

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

Please look at the referenced formulae.

@UnixJunkie
Copy link
Author

I added the license info in the desc field

@UnixJunkie
Copy link
Author

I just added a test target inspired by the one from tinyxml2.rb

@MikeMcQuaid
Copy link
Member

Thanks for your contribution to Homebrew! Without people like you submitting PRs we couldn't run this project. You rock!

For future reference the preferred commit message format for new formulae is ppl 1.1 (new formula).

woodruffw pushed a commit to woodruffw-forks/homebrew that referenced this pull request Jun 23, 2015
Closes Homebrew#40986.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants