Commit e33dc98f authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2224 from uberhacker/add-libdnet-package

Add libdnet package
parents 8606f338 034e0743
require 'package'
class Libdnet < Package
description 'libdnet provides a simplified, portable interface to several low-level networking routines.'
homepage 'https://github.com/dugsong/libdnet'
version '1.12'
source_url 'https://github.com/dugsong/libdnet/archive/libdnet-1.12.tar.gz'
source_sha256 'b6360659c93fa2e3cde9e0a1fc9c07bc4111f3448c5de856e095eb98315dd424'
binary_url ({
})
binary_sha256 ({
})
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--sbindir=#{CREW_PREFIX}/bin"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment