mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Add nanomsg (1.0.0) package
nanomsg is a socket library that provides several common communication patterns. It aims to make the networking layer fast, scalable, and easy to use. Tested as working on Samsung XE50013-K01US (x86_64). All tests passing. https://gist.github.com/cstrouse/9d2cc4cb0937f4c5d827abb41852c07e
This commit is contained in:
18
packages/nanomsg.rb
Normal file
18
packages/nanomsg.rb
Normal file
@@ -0,0 +1,18 @@
|
||||
require 'package'
|
||||
|
||||
class Nanomsg < Package
|
||||
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
|
||||
Reference in New Issue
Block a user