mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 15:13:56 -05:00
21 lines
516 B
Ruby
21 lines
516 B
Ruby
require 'package'
|
|
|
|
class Nanomsg < Package
|
|
description 'nanomsg is a socket library that provides several common communication patterns.'
|
|
homepage 'http://nanomsg.org/'
|
|
version '1.0,0'
|
|
source_url 'https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz'
|
|
source_sha1 '57f90778a9bb7b95a7fd73910fd41894f3ee9cab'
|
|
|
|
depends_on 'cmake'
|
|
|
|
def self.build
|
|
system "./configure --prefix=/usr/local"
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|