Add alsa_lib and alsa_plugins packages

This commit is contained in:
Ed Reel
2017-10-07 23:45:43 -05:00
parent c0468128c5
commit 369ad0fe20
2 changed files with 48 additions and 0 deletions

23
packages/alsa_lib.rb Normal file
View File

@@ -0,0 +1,23 @@
require 'package'
class Alsa_lib < Package
description 'The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.'
homepage 'https://www.alsa-project.org/main/index.php/Main_Page'
version '1.1.4.1'
source_url 'ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.4.1.tar.bz2'
source_sha256 '91bb870c14d1c7c269213285eeed874fa3d28112077db061a3af8010d0885b76'
binary_url ({
})
binary_sha256 ({
})
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end