mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
19 lines
484 B
Ruby
19 lines
484 B
Ruby
require 'package'
|
|
|
|
class Fontconfig < Package
|
|
version '2.11.94'
|
|
source_url 'http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.94.tar.gz'
|
|
source_sha1 '3748d8a2b9cf8052dbd003f524d829157f1ead83'
|
|
|
|
depends_on 'pkgconfig'
|
|
|
|
def self.build
|
|
system "./configure --libdir=/usr/local/lib#{SHORTARCH}/ CC=\"gcc -m#{SHORTARCH}\" CFLAGS=\" -fPIC\""
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|