Commit 6dede430 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #700 from jam7/modify-deps

Modify dependencies in several packages.
parents 144b3002 5a6344a2
......@@ -8,8 +8,8 @@ class Bc < Package
source_sha1 'b4475c6d66590a5911d30f9747361db47231640a'
depends_on 'readline'
depends_on 'flex'
depends_on 'ed'
depends_on 'flex' => :build
depends_on 'ed' => :build
def self.build
system "./configure", "--with-readline"
......
......@@ -6,7 +6,7 @@ class Ed < Package
source_sha1 '3e8aa331ffbc929884107ff3f8fbd76d01252277'
# only lz archive is available for ed and it requires lzip.
depends_on 'lzip'
depends_on 'lzip' => :build
def self.build
system "./configure"
......
......@@ -7,11 +7,11 @@ class Emacs < Package
source_url 'ftp://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz'
source_sha1 '983e457971e3e3c8964d039c113033f98132b8a8'
depends_on "zlibpkg"
depends_on "diffutils"
depends_on "m4"
depends_on "autoconf"
depends_on "automake"
depends_on "zlibpkg" => :build
depends_on "diffutils" => :build
depends_on "m4" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
def self.build
system "./configure --prefix=/usr/local --without-x --without-makeinfo --without-selinux"
......
......@@ -5,6 +5,12 @@ class Libtasn1 < Package
source_url 'http://ftpmirror.gnu.org/libtasn1/libtasn1-4.10.tar.gz'
source_sha1 'c7b36fa50866bbc889f7503c7fd1e9f9d7c52a64'
# bison, diff, cmp are required at compile-time
depends_on 'buildessential' => :build
depends_on 'pkgconfig' => :build
depends_on 'bison' => :build
depends_on 'diffutils' => :build
def self.build
system "./configure", "--enable-shared", "--disable-static", "--with-pic", "--prefix=/usr/local"
system "make"
......
......@@ -7,8 +7,9 @@ class Libunwind < Package
source_url 'http://download.savannah.gnu.org/releases/libunwind/libunwind-1.2.tar.gz'
source_sha1 'a33e52d7ecd18b9375508369b566eeb2cc6eec3b'
depends_on 'buildessential'
depends_on 'openssl'
depends_on 'buildessential' => :build
depends_on 'openssl' => :build
depends_on 'xzutils' => :build
def self.build
system "CC='gcc' ./configure"
......
......@@ -5,6 +5,7 @@ class P11kit < Package
source_url 'https://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz'
source_sha1 '4da0d7b47935b6cb0f321dd00358b063ae42df71'
depends_on 'diffutils' => :build
depends_on 'libffi'
depends_on 'libtasn1'
......
......@@ -8,9 +8,10 @@ class Vim < Package
source_sha1 '54bb7fe631ed8eaea5675ec934e88b0da1f1eca0'
depends_on 'ncurses'
depends_on 'perl' => :build
depends_on 'python27' => :build
depends_on 'ruby' => :build
# vim uses shared library of following languages, so need them isntalled at run-time
depends_on 'perl'
depends_on 'python27'
depends_on 'ruby'
def self.build
system './configure --prefix=/usr/local --enable-gui=no --with-features=huge --without-x --disable-nls --enable-multibyte --with-tlib=ncurses --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --with-ruby-command=/usr/local/bin/ruby --disable-selinux'
......
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