Commit 8b407534 authored by system_user's avatar system_user

Added recipes for flex and bc

parent 39e54e2f
require 'package'
class Bc < Package
version '1.06'
source_url 'http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz'
source_sha1 'c8f258a7355b40a485007c40865480349c157292'
depends_on 'flex'
def self.build
system "./configure --libdir=/usr/local/lib64/"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Flex < Package
version '2.5.39'
source_url 'http://fossies.org/linux/misc/flex-2.5.39.tar.gz'
source_sha1 '40866373afd3ab88a7f7fe26c9b27b035aa1f2a9'
depends_on 'm4'
def self.build
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
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