mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS * Rename build_extras and install_extras to configure_build_extras and configure_install_extras
26 lines
557 B
Ruby
26 lines
557 B
Ruby
require 'package'
|
|
|
|
class Libshine < Package
|
|
description 'shine is a rapid fixed-point MP3 encoder.'
|
|
homepage 'https://github.com/toots/shine/'
|
|
version '3.1.1'
|
|
compatibility 'all'
|
|
license 'GPL-2'
|
|
source_url 'https://github.com/toots/shine.git'
|
|
git_hashtag version
|
|
|
|
def self.build
|
|
system 'autoreconf -fiv'
|
|
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
|
|
def self.check
|
|
system 'make', 'check'
|
|
end
|
|
end
|