Rename autotools constants to fall in line with the rest of crew (#10442)

* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS

* Rename build_extras and install_extras to configure_build_extras and configure_install_extras
This commit is contained in:
Maximilian Downey Twiss
2024-09-10 09:21:58 +10:00
committed by GitHub
parent af8193b11a
commit f6b6cab229
361 changed files with 370 additions and 370 deletions

View File

@@ -55,7 +55,7 @@ Preset constants are shown below:
- `#{CREW_LIB_PREFIX}` - The `LIB` prefix used by `crew` - Equal to `#{CREW_PREFIX}/lib` - `#{CREW_PREFIX}/lib64` on `amd64` - `#{CREW_LIB_PREFIX}` - The `LIB` prefix used by `crew` - Equal to `#{CREW_PREFIX}/lib` - `#{CREW_PREFIX}/lib64` on `amd64`
- `#{CREW_DEST_DIR}` - The`DESTDIR` variable used by `crew` - Equal to `#{CREW_PREFIX}/tmp/crew/dest` - `#{CREW_DEST_DIR}` - The`DESTDIR` variable used by `crew` - Equal to `#{CREW_PREFIX}/tmp/crew/dest`
- `#{CREW_DEST_PREFIX}` - The`DESTDIR` variable prefix used by `crew` - Equal to `#{CREW_DEST_DIR}/usr/local` - `#{CREW_DEST_PREFIX}` - The`DESTDIR` variable prefix used by `crew` - Equal to `#{CREW_DEST_DIR}/usr/local`
- `#{CREW_OPTIONS}` - The preset options for `./congifure` - <sup>[Equals](#eq)</sup> - `#{CREW_CONFIGURE_OPTIONS}` - The preset options for `./congifure` - <sup>[Equals](#eq)</sup>
- `#{CREW_MAN_PREFIX}` - Useful for building man pages - Equal to `#{CREW_PREFIX}/share/man` - `#{CREW_MAN_PREFIX}` - Useful for building man pages - Equal to `#{CREW_PREFIX}/share/man`
- `#{CREW_DEST_LIB_PREFIX}` - The `DESTDIR` `LIB` prefix - Equal to `#{CREW_DEST_PREFIX}/lib` - `#{CREW_DEST_PREFIX}/lib64` on `amd64` - `#{CREW_DEST_LIB_PREFIX}` - The `DESTDIR` `LIB` prefix - Equal to `#{CREW_DEST_PREFIX}/lib` - `#{CREW_DEST_PREFIX}/lib64` on `amd64`
- `#{CREW_DEST_HOME}` - The `DESTDIR` home variable - Equal to `#{CREW_DEST}/#{HOME}` - `#{CREW_DEST_HOME}` - The `DESTDIR` home variable - Equal to `#{CREW_DEST}/#{HOME}`
@@ -147,7 +147,7 @@ end
NOTE: All rules can have exceptions, if ***REQUIRED***, exceptions to the rules should be avoided at all costs. NOTE: All rules can have exceptions, if ***REQUIRED***, exceptions to the rules should be avoided at all costs.
<a name="eq">`CREW_OPTIONS`</a>: Equal to `--prefix=/usr/local --libdir=/usr/local/lib --mandir=/usr/local/share/man --disable-dependency-tracking --build=armv7l-cros-linux-gnueabihf --host=armv7l-cros-linux-gnueabihf --target=armv7l-cros-linux-gnueabihf --program-prefix='' --program-suffix=''` <a name="eq">`CREW_CONFIGURE_OPTIONS`</a>: Equal to `--prefix=/usr/local --libdir=/usr/local/lib --mandir=/usr/local/share/man --disable-dependency-tracking --program-prefix='' --program-suffix=''`
Any additionally required resources for ChromeOS or ChromeBooks can be found [here](https://github.com/chromebrew/chromebrew/wiki/Links) Any additionally required resources for ChromeOS or ChromeBooks can be found [here](https://github.com/chromebrew/chromebrew/wiki/Links)

View File

@@ -2,7 +2,7 @@ require 'fileutils'
require 'package' require 'package'
class Autotools < Package class Autotools < Package
property :configure_options, :pre_configure_options, :build_extras, :install_extras property :configure_options, :pre_configure_options, :configure_build_extras, :configure_install_extras
def self.build def self.build
unless File.file?('Makefile') && CREW_CACHE_BUILD unless File.file?('Makefile') && CREW_CACHE_BUILD
@@ -24,7 +24,7 @@ class Autotools < Package
system 'filefix' system 'filefix'
end end
@mold_linker_prefix_cmd = CREW_LINKER == 'mold' ? 'mold -run ' : '' @mold_linker_prefix_cmd = CREW_LINKER == 'mold' ? 'mold -run ' : ''
system "#{@pre_configure_options} #{@mold_linker_prefix_cmd}./configure #{CREW_OPTIONS} #{@configure_options}" system "#{@pre_configure_options} #{@mold_linker_prefix_cmd}./configure #{CREW_CONFIGURE_OPTIONS} #{@configure_options}"
end end
system 'make' system 'make'
@build_extras&.call @build_extras&.call

View File

@@ -238,7 +238,7 @@ CREW_ENV_FNO_LTO_OPTIONS_HASH ||= {
# parse from hash to shell readable string # parse from hash to shell readable string
CREW_ENV_FNO_LTO_OPTIONS ||= CREW_ENV_FNO_LTO_OPTIONS_HASH.map { |k, v| "#{k}=\"#{v}\"" }.join(' ') CREW_ENV_FNO_LTO_OPTIONS ||= CREW_ENV_FNO_LTO_OPTIONS_HASH.map { |k, v| "#{k}=\"#{v}\"" }.join(' ')
CREW_OPTIONS ||= <<~OPT.chomp CREW_CONFIGURE_OPTIONS ||= <<~OPT.chomp
--prefix=#{CREW_PREFIX} \ --prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \ --libdir=#{CREW_LIB_PREFIX} \
--mandir=#{CREW_MAN_PREFIX} \ --mandir=#{CREW_MAN_PREFIX} \

View File

@@ -34,7 +34,7 @@ class Aalib < Package
def self.build def self.build
system 'autoreconf -fiv' system 'autoreconf -fiv'
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--with-x \ --with-x \
--with-x11-driver \ --with-x11-driver \
--with-slang-driver" --with-slang-driver"

View File

@@ -18,7 +18,7 @@ class Acpi < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -31,7 +31,7 @@ class Aircrack_ng < Package
system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' \ system "env CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' \
LDFLAGS='-flto=auto' \ LDFLAGS='-flto=auto' \
./configure \ ./configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--program-prefix='' --program-suffix='' \ --program-prefix='' --program-suffix='' \
--with-lto \ --with-lto \
--with-experimental=yes \ --with-experimental=yes \

View File

@@ -29,7 +29,7 @@ class Alpine < Package
def self.build def self.build
system "./configure \ system "./configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--with-ssl-dir=#{CREW_PREFIX}/etc/ssl \ --with-ssl-dir=#{CREW_PREFIX}/etc/ssl \
--with-ssl-include-dir=#{CREW_PREFIX}/include \ --with-ssl-include-dir=#{CREW_PREFIX}/include \
--with-ssl-lib-dir=#{CREW_LIB_PREFIX} \ --with-ssl-lib-dir=#{CREW_LIB_PREFIX} \

View File

@@ -23,7 +23,7 @@ class Alsa_lib < Autotools
def self.build def self.build
@py_ver = `python -c "import sys; version = '.'.join(map(str, sys.version_info[:2])) ; print(version)"`.chomp @py_ver = `python -c "import sys; version = '.'.join(map(str, sys.version_info[:2])) ; print(version)"`.chomp
system 'autoreconf -fiv' system 'autoreconf -fiv'
system "mold -run ./configure #{CREW_OPTIONS} \ system "mold -run ./configure #{CREW_CONFIGURE_OPTIONS} \
--without-debug \ --without-debug \
--disable-maintainer-mode \ --disable-maintainer-mode \
--with-pythonlibs=-lpython#{@py_ver} \ --with-pythonlibs=-lpython#{@py_ver} \

View File

@@ -21,7 +21,7 @@ class Anagram < Package
depends_on 'glibc' # R depends_on 'glibc' # R
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
@_anagram_wrapper = <<~ANAGRAM_WRAPPER_EOF @_anagram_wrapper = <<~ANAGRAM_WRAPPER_EOF

View File

@@ -24,7 +24,7 @@ class Aria2 < Package
def self.build def self.build
system 'autoreconf -fiv' system 'autoreconf -fiv'
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--with-libnettle \ --with-libnettle \
--with-libgcrypt \ --with-libgcrypt \
--without-libssh2 \ --without-libssh2 \

View File

@@ -20,7 +20,7 @@ class Aribb25 < Package
def self.build def self.build
system 'autoreconf -fiv' system 'autoreconf -fiv'
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS}" system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -26,7 +26,7 @@ class Asciidoc < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -21,7 +21,7 @@ class Autoconf213 < Package
def self.build def self.build
system "env #{CREW_ENV_OPTIONS} \ system "env #{CREW_ENV_OPTIONS} \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_CONFIGURE_OPTIONS} \
--infodir=#{CREW_PREFIX}/share/info \ --infodir=#{CREW_PREFIX}/share/info \
--program-suffix=-2.13 \ --program-suffix=-2.13 \
--datadir=#{CREW_PREFIX}/share/autoconf213" --datadir=#{CREW_PREFIX}/share/autoconf213"

View File

@@ -18,7 +18,7 @@ class Autoconf_archive < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -20,7 +20,7 @@ class Automake < Package
depends_on 'autoconf' depends_on 'autoconf'
def self.build def self.build
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS}" system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -20,7 +20,7 @@ class Autossh < Package
depends_on 'openssh' depends_on 'openssh'
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--with-ssh=$(which ssh)" --with-ssh=$(which ssh)"
system 'make' system 'make'
end end

View File

@@ -29,7 +29,7 @@ class Bash < Autotools
--without-bash-malloc \ --without-bash-malloc \
--with-installed-readline' --with-installed-readline'
install_extras do configure_install_extras do
FileUtils.ln_s "#{CREW_PREFIX}/bin/bash", "#{CREW_DEST_PREFIX}/bin/sh" FileUtils.ln_s "#{CREW_PREFIX}/bin/bash", "#{CREW_DEST_PREFIX}/bin/sh"
end end
end end

View File

@@ -19,7 +19,7 @@ class Bdftopcf < Package
depends_on 'libxfont' depends_on 'libxfont'
def self.build def self.build
system "./configure #{CREW_OPTIONS} " system "./configure #{CREW_CONFIGURE_OPTIONS} "
system "make -j#{CREW_NPROC}" system "make -j#{CREW_NPROC}"
end end

View File

@@ -44,7 +44,7 @@ class Binutils < Package
# https://sourceware.org/bugzilla/show_bug.cgi?id=30006 # https://sourceware.org/bugzilla/show_bug.cgi?id=30006
Dir.mkdir 'build' Dir.mkdir 'build'
Dir.chdir 'build' do Dir.chdir 'build' do
system "../configure #{CREW_OPTIONS} \ system "../configure #{CREW_CONFIGURE_OPTIONS} \
--disable-bootstrap \ --disable-bootstrap \
--disable-gdb \ --disable-gdb \
--disable-gdbserver \ --disable-gdbserver \

View File

@@ -18,7 +18,7 @@ class Bitmap < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -33,7 +33,7 @@ class Bluefish < Package
def self.build def self.build
system 'filefix' system 'filefix'
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
@bluefish = <<~EOF @bluefish = <<~EOF
alias bluefish="WAYLAND_DISPLAY=wayland-0 DISPLAY='' GDK_BACKEND=wayland #{CREW_PREFIX}/bin/bluefish" alias bluefish="WAYLAND_DISPLAY=wayland-0 DISPLAY='' GDK_BACKEND=wayland #{CREW_PREFIX}/bin/bluefish"

View File

@@ -13,7 +13,7 @@ class Bmon < Package
def self.build def self.build
system 'autoreconf -fiv' system 'autoreconf -fiv'
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--without-ncurses \ --without-ncurses \
--with-ncursesw" --with-ncursesw"
system 'make' system 'make'

View File

@@ -26,7 +26,7 @@ class Bridge_utils < Package
def self.build def self.build
system 'autoreconf -fvi' system 'autoreconf -fvi'
system "./configure \ system "./configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--sbindir=#{CREW_PREFIX}/bin \ --sbindir=#{CREW_PREFIX}/bin \
--sysconfdir=#{CREW_PREFIX}/etc" --sysconfdir=#{CREW_PREFIX}/etc"
system 'make' system 'make'

View File

@@ -28,7 +28,7 @@ class Bubblewrap < Package
def self.build def self.build
system './configure --help' system './configure --help'
system "env #{CREW_ENV_OPTIONS} \ system "env #{CREW_ENV_OPTIONS} \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_CONFIGURE_OPTIONS} \
--disable-maintainer-mode \ --disable-maintainer-mode \
--with-priv-mode=setuid \ --with-priv-mode=setuid \
--enable-sudo" --enable-sudo"

View File

@@ -19,7 +19,7 @@ class Cadaver < Package
depends_on 'neon' depends_on 'neon'
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -31,7 +31,7 @@ class Catatonit < Package
def self.build def self.build
system 'autoreconf -fiv' system 'autoreconf -fiv'
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make V=1' system 'make V=1'
end end

View File

@@ -31,7 +31,7 @@ class Cdparanoia < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make -j1' system 'make -j1'
end end

View File

@@ -26,7 +26,7 @@ class Cfitsio < Autotools
system "CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS} --enable-reentrant" ./configure #{CREW_CONFIGURE_OPTIONS} --enable-reentrant"
system 'make shared' system 'make shared'
system 'make utils' system 'make utils'
end end

View File

@@ -18,7 +18,7 @@ class Chrpath < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -26,7 +26,7 @@ class Consolekit < Package
def self.build def self.build
system "env #{CREW_ENV_OPTIONS} \ system "env #{CREW_ENV_OPTIONS} \
./autogen.sh \ ./autogen.sh \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc \ --sysconfdir=#{CREW_PREFIX}/etc \
--sbindir=#{CREW_PREFIX}/usr/bin \ --sbindir=#{CREW_PREFIX}/usr/bin \
--with-rundir=/run \ --with-rundir=/run \

View File

@@ -36,7 +36,7 @@ class Coreutils < Autotools
def self.build def self.build
year2038 = ARCH == 'x86_64' ? '' : ' --disable-year2038' year2038 = ARCH == 'x86_64' ? '' : ' --disable-year2038'
options = CREW_OPTIONS + year2038 options = CREW_CONFIGURE_OPTIONS + year2038
system "./configure #{options}" system "./configure #{options}"
system 'make' system 'make'
arch = <<~EOF arch = <<~EOF

View File

@@ -55,7 +55,7 @@ ctl.!default {
_EOF_' _EOF_'
system './git_prepare.sh' system './git_prepare.sh'
if ARCH == 'i686' if ARCH == 'i686'
system "CFLAGS='-fuse-ld=lld -msse2' ./configure #{CREW_OPTIONS} \ system "CFLAGS='-fuse-ld=lld -msse2' ./configure #{CREW_CONFIGURE_OPTIONS} \
--disable-alsa-plugin \ --disable-alsa-plugin \
--disable-webrtc-apm \ --disable-webrtc-apm \
--enable-sse42 \ --enable-sse42 \
@@ -63,7 +63,7 @@ _EOF_'
--enable-avx2 --enable-avx2
--enable-fma" --enable-fma"
else else
system "CFLAGS='-fuse-ld=lld' ./configure #{CREW_OPTIONS} \ system "CFLAGS='-fuse-ld=lld' ./configure #{CREW_CONFIGURE_OPTIONS} \
--disable-alsa-plugin \ --disable-alsa-plugin \
--disable-webrtc-apm \ --disable-webrtc-apm \
--enable-sse42 \ --enable-sse42 \

View File

@@ -130,7 +130,7 @@ class Crun < Package
def self.build def self.build
@disable_criu = ARCH == 'x86_64' ? '' : '--disable-criu' @disable_criu = ARCH == 'x86_64' ? '' : '--disable-criu'
system './autogen.sh' system './autogen.sh'
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
#{@disable_criu} \ #{@disable_criu} \
--disable-systemd \ --disable-systemd \
--enable-shared \ --enable-shared \

View File

@@ -33,7 +33,7 @@ class Cunit < Package
def self.build def self.build
system 'autoupdate' system 'autoupdate'
system 'autoreconf -fiv' system 'autoreconf -fiv'
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS} \ system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS} \
--enable-automated \ --enable-automated \
--enable-basic \ --enable-basic \
--enable-console \ --enable-console \

View File

@@ -32,7 +32,7 @@ class Cups < Package
def self.build def self.build
@buildoverride = %w[armv7l aarch64].include?(ARCH) ? 'CC=clang CXX=clang++ LD=mold CUPS_LINKER=mold' : '' @buildoverride = %w[armv7l aarch64].include?(ARCH) ? 'CC=clang CXX=clang++ LD=mold CUPS_LINKER=mold' : ''
system "#{@buildoverride} ./configure #{CREW_OPTIONS} \ system "#{@buildoverride} ./configure #{CREW_CONFIGURE_OPTIONS} \
--enable-libusb" --enable-libusb"
system 'make' system 'make'
File.write 'startcupsd', <<~EOF File.write 'startcupsd', <<~EOF

View File

@@ -20,7 +20,7 @@ class Dash < Package
depends_on 'libedit' depends_on 'libedit'
def self.build def self.build
system "./configure #{CREW_OPTIONS} --with-libedit" system "./configure #{CREW_CONFIGURE_OPTIONS} --with-libedit"
system 'make' system 'make'
end end

View File

@@ -18,7 +18,7 @@ class Datamash < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -20,7 +20,7 @@ class Dbus_glib < Package
depends_on 'glib' depends_on 'glib'
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -18,7 +18,7 @@ class Ddrescue < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--enable-non-posix" --enable-non-posix"
system 'make' system 'make'
end end

View File

@@ -18,7 +18,7 @@ class Desktop_file_utils < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -21,7 +21,7 @@ class Diffutils < Package
depends_on 'libsigsegv' depends_on 'libsigsegv'
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -28,7 +28,7 @@ class Djvulibre < Package
depends_on 'glibc' # R depends_on 'glibc' # R
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--disable-desktopfiles" --disable-desktopfiles"
system 'make' system 'make'
end end

View File

@@ -21,7 +21,7 @@ class Docbook2x < Package
depends_on 'glibc' # R depends_on 'glibc' # R
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -21,7 +21,7 @@ class Dosbox < Package
depends_on 'sommelier' depends_on 'sommelier'
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -23,7 +23,7 @@ class Dosbox_x < Package
def self.patch def self.patch
system 'filefix' system 'filefix'
system "sed -i 's,--prefix=/usr,#{CREW_OPTIONS},' build" system "sed -i 's,--prefix=/usr,#{CREW_CONFIGURE_OPTIONS},' build"
end end
def self.build def self.build

View File

@@ -18,7 +18,7 @@ class Dosfstools < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS} --enable-compat-symlinks" system "./configure #{CREW_CONFIGURE_OPTIONS} --enable-compat-symlinks"
system 'make' system 'make'
end end

View File

@@ -22,7 +22,7 @@ class E2fsprogs < Package
depends_on 'util_linux' # R depends_on 'util_linux' # R
def self.build def self.build
system "./configure #{CREW_OPTIONS}\ system "./configure #{CREW_CONFIGURE_OPTIONS}\
--enable-elf-shlibs \ --enable-elf-shlibs \
--enable-lto \ --enable-lto \
--disable-libblkid \ --disable-libblkid \

View File

@@ -18,7 +18,7 @@ class Editres < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -25,7 +25,7 @@ class Enchant < Package
system './bootstrap' system './bootstrap'
system "env CFLAGS='-flto=auto -ltinfo' CXXFLAGS='-flto=auto' \ system "env CFLAGS='-flto=auto -ltinfo' CXXFLAGS='-flto=auto' \
LDFLAGS='-flto=auto' \ LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_CONFIGURE_OPTIONS} \
--with-hunspell \ --with-hunspell \
--with-aspell" --with-aspell"
system 'make' system 'make'

View File

@@ -19,7 +19,7 @@ class Encodings < Package
depends_on 'mkfontscale' depends_on 'mkfontscale'
def self.build def self.build
system "./configure #{CREW_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts" system "./configure #{CREW_CONFIGURE_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts"
system "sed -e 's|^\(encodings_DATA = $(DATA_FILES)\).*|\1|' -i Makefile" # Found in xbps-src system "sed -e 's|^\(encodings_DATA = $(DATA_FILES)\).*|\1|' -i Makefile" # Found in xbps-src
system 'make' system 'make'
end end

View File

@@ -19,7 +19,7 @@ class Enet < Package
def self.build def self.build
system 'autoreconf -vfi' system 'autoreconf -vfi'
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -24,7 +24,7 @@ class Ethtool < Package
def self.build def self.build
system "#{CREW_ENV_OPTIONS} \ system "#{CREW_ENV_OPTIONS} \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_CONFIGURE_OPTIONS} \
--mandir=#{CREW_MAN_PREFIX} \ --mandir=#{CREW_MAN_PREFIX} \
--sbindir=#{CREW_PREFIX}/bin" --sbindir=#{CREW_PREFIX}/bin"
system 'make' system 'make'

View File

@@ -21,7 +21,7 @@ class Exfatprogs < Package
def self.build def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh' system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -27,7 +27,7 @@ class Exo < Package
end end
def self.build def self.build
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS}" system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -25,7 +25,7 @@ class Faac < Package
def self.build def self.build
system 'autoreconf -vfi' system 'autoreconf -vfi'
system "env #{CREW_ENV_OPTIONS} \ system "env #{CREW_ENV_OPTIONS} \
./configure #{CREW_OPTIONS}" ./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -189,7 +189,7 @@ class Ffmpeg < Package
--enable-version3 \ --enable-version3 \
--host-cflags='#{CREW_ENV_OPTIONS_HASH['CFLAGS']} -flto=auto -fuse-ld=#{CREW_LINKER} #{@arch_cflags}' \ --host-cflags='#{CREW_ENV_OPTIONS_HASH['CFLAGS']} -flto=auto -fuse-ld=#{CREW_LINKER} #{@arch_cflags}' \
--host-ldflags='#{CREW_ENV_OPTIONS_HASH['LDFLAGS']} -flto=auto' \ --host-ldflags='#{CREW_ENV_OPTIONS_HASH['LDFLAGS']} -flto=auto' \
#{CREW_OPTIONS.sub(/--build=.*/, '').gsub('vfpv3-d16', 'neon').gsub('--disable-dependency-tracking', '')}" #{CREW_CONFIGURE_OPTIONS.sub(/--build=.*/, '').gsub('vfpv3-d16', 'neon').gsub('--disable-dependency-tracking', '')}"
system "env PATH=#{CREW_LIB_PREFIX}/ccache/bin:#{CREW_PREFIX}/bin:/usr/bin:/bin \ system "env PATH=#{CREW_LIB_PREFIX}/ccache/bin:#{CREW_PREFIX}/bin:/usr/bin:/bin \
make -j#{CREW_NPROC}" make -j#{CREW_NPROC}"
system 'make tools/qt-faststart' system 'make tools/qt-faststart'

View File

@@ -61,7 +61,7 @@ class Filecmd < Package
Dir.chdir 'builddir-static' do Dir.chdir 'builddir-static' do
system "env LDFLAGS+=' -static' \ system "env LDFLAGS+=' -static' \
../configure \ ../configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
#{@filecmd_config_opts}" #{@filecmd_config_opts}"
system 'make' system 'make'
end end
@@ -70,7 +70,7 @@ class Filecmd < Package
Dir.mkdir 'builddir-dynamic' Dir.mkdir 'builddir-dynamic'
Dir.chdir 'builddir-dynamic' do Dir.chdir 'builddir-dynamic' do
system "../configure \ system "../configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
#{@filecmd_config_opts}" #{@filecmd_config_opts}"
system 'make' system 'make'
end end

View File

@@ -49,7 +49,7 @@ class Filezilla < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS} --disable-maintainer-mode --with-pugixml=builtin" system "./configure #{CREW_CONFIGURE_OPTIONS} --disable-maintainer-mode --with-pugixml=builtin"
system 'make' system 'make'
end end

View File

@@ -29,7 +29,7 @@ class Fossil < Autotools
system "./configure --prefix=#{CREW_PREFIX}" system "./configure --prefix=#{CREW_PREFIX}"
end end
install_extras do configure_install_extras do
FileUtils.install 'fossil.1', "#{CREW_DEST_MAN_PREFIX}/man1/fossil.1", mode: 0o644 FileUtils.install 'fossil.1', "#{CREW_DEST_MAN_PREFIX}/man1/fossil.1", mode: 0o644
end end
end end

View File

@@ -23,7 +23,7 @@ class Freetds < Package
system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ system "env CFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ CXXFLAGS='-pipe -fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \ LDFLAGS='-fno-stack-protector -U_FORTIFY_SOURCE -flto=auto' \
./configure #{CREW_OPTIONS}" ./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -17,7 +17,7 @@ class Fswatch < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -20,7 +20,7 @@ class Fuse2 < Package
depends_on 'util_linux' depends_on 'util_linux'
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--enable-example \ --enable-example \
--disable-mtab \ --disable-mtab \
--enable-util \ --enable-util \

View File

@@ -26,7 +26,7 @@ class Fuse_overlayfs < Package
def self.build def self.build
system 'autoreconf -fiv' system 'autoreconf -fiv'
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--sbindir=#{CREW_PREFIX}/bin" --sbindir=#{CREW_PREFIX}/bin"
system 'make' system 'make'
end end

View File

@@ -20,7 +20,7 @@ class Garcon < Package
depends_on 'libxfce4ui' depends_on 'libxfce4ui'
def self.build def self.build
system "./configure #{CREW_OPTIONS} --disable-static --enable-gtk2 --enable-libxfce4ui" system "./configure #{CREW_CONFIGURE_OPTIONS} --disable-static --enable-gtk2 --enable-libxfce4ui"
system "make -j#{CREW_NPROC}" system "make -j#{CREW_NPROC}"
end end

View File

@@ -25,7 +25,7 @@ class Gawk < Package
depends_on 'readline' # R depends_on 'readline' # R
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--without-libsigsegv-prefix" --without-libsigsegv-prefix"
system 'make' system 'make'
end end

View File

@@ -119,7 +119,7 @@ class Gcc10 < Package
unless File.file?('Makefile') unless File.file?('Makefile')
system configure_env, <<~BUILD.chomp system configure_env, <<~BUILD.chomp
../configure #{CREW_OPTIONS} \ ../configure #{CREW_CONFIGURE_OPTIONS} \
#{@gcc_global_opts} \ #{@gcc_global_opts} \
#{@archflags} \ #{@archflags} \
--with-native-system-header-dir=#{CREW_PREFIX}/include \ --with-native-system-header-dir=#{CREW_PREFIX}/include \

View File

@@ -166,7 +166,7 @@ class Gcc_build < Package
}.transform_keys(&:to_s) }.transform_keys(&:to_s)
system configure_env, <<~BUILD.chomp system configure_env, <<~BUILD.chomp
mold -run ../configure #{CREW_OPTIONS} \ mold -run ../configure #{CREW_CONFIGURE_OPTIONS} \
#{@gcc_global_opts} \ #{@gcc_global_opts} \
#{@archflags} \ #{@archflags} \
--with-native-system-header-dir=#{CREW_PREFIX}/include \ --with-native-system-header-dir=#{CREW_PREFIX}/include \

View File

@@ -18,7 +18,7 @@ class Gccmakedep < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc" --sysconfdir=#{CREW_PREFIX}/etc"
system 'make' system 'make'
end end

View File

@@ -45,7 +45,7 @@ class Gdb < Autotools
FileUtils.mkdir_p 'build' FileUtils.mkdir_p 'build'
Dir.chdir('build') do Dir.chdir('build') do
system "../configure \ system "../configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--disable-binutils \ --disable-binutils \
--disable-ld \ --disable-ld \
--disable-nls \ --disable-nls \

View File

@@ -23,7 +23,7 @@ class Gdbm < Package
def self.build def self.build
system "mold -run ./configure \ system "mold -run ./configure \
#{CREW_OPTIONS}" #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -55,7 +55,7 @@ class Ghostscript < Package
def self.build def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh' system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system 'filefix' system 'filefix'
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--disable-hidden-visibility \ --disable-hidden-visibility \
--disable-compile-inits \ --disable-compile-inits \
--enable-dynamic \ --enable-dynamic \

View File

@@ -231,7 +231,7 @@ class Glibc_build223 < Package
end end
FileUtils.cp 'binutils/ld.bfd', 'binutils/ld' FileUtils.cp 'binutils/ld.bfd', 'binutils/ld'
system "CFLAGS='-O2 -pipe -fno-stack-protector' ../configure \ system "CFLAGS='-O2 -pipe -fno-stack-protector' ../configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--with-headers=#{CREW_PREFIX}/include \ --with-headers=#{CREW_PREFIX}/include \
--without-gd \ --without-gd \
--disable-werror \ --disable-werror \

View File

@@ -239,7 +239,7 @@ class Glibc_build227 < Package
# enable-obsolete-rpc will cause a conflict with libtirpc # enable-obsolete-rpc will cause a conflict with libtirpc
system "SYSROOT='' CFLAGS='-O2 -fno-strict-aliasing -fno-stack-protector -march=armv7-a+fp' \ system "SYSROOT='' CFLAGS='-O2 -fno-strict-aliasing -fno-stack-protector -march=armv7-a+fp' \
LD=ld ../configure \ LD=ld ../configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--with-headers=#{CREW_PREFIX}/include \ --with-headers=#{CREW_PREFIX}/include \
ac_cv_lib_cap_cap_init=no \ ac_cv_lib_cap_cap_init=no \
--disable-sanity-checks \ --disable-sanity-checks \
@@ -261,7 +261,7 @@ class Glibc_build227 < Package
when 'x86_64' when 'x86_64'
File.write('configparms', "slibdir=#{CREW_LIB_PREFIX}") File.write('configparms', "slibdir=#{CREW_LIB_PREFIX}")
system "CFLAGS='-O2 -pipe -fno-stack-protector' ../configure \ system "CFLAGS='-O2 -pipe -fno-stack-protector' ../configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--with-headers=#{CREW_PREFIX}/include \ --with-headers=#{CREW_PREFIX}/include \
--without-gd \ --without-gd \
--disable-werror \ --disable-werror \

View File

@@ -18,7 +18,7 @@ class Glpk < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -28,7 +28,7 @@ class Gnu_time < Package
def self.build def self.build
system './bootstrap --no-git --gnulib-srcdir=./gnulib' system './bootstrap --no-git --gnulib-srcdir=./gnulib'
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS} --infodir=#{CREW_PREFIX}/share/info" system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS} --infodir=#{CREW_PREFIX}/share/info"
system 'make' system 'make'
end end

View File

@@ -18,7 +18,7 @@ class Gnuchess < Package
}) })
def self.build def self.build
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_OPTIONS} \ system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS} \
--with-readline" --with-readline"
system 'make' system 'make'
end end

View File

@@ -36,7 +36,7 @@ class Gparted < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--sbindir=#{CREW_PREFIX}/bin \ --sbindir=#{CREW_PREFIX}/bin \
--enable-online-resize \ --enable-online-resize \
--enable-libparted-dmraid \ --enable-libparted-dmraid \

View File

@@ -24,7 +24,7 @@ class Gpm < Package
system "env CFLAGS='-flto=auto' \ system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \ CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure \ ./configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--sysconfdir=#{CREW_PREFIX}/etc \ --sysconfdir=#{CREW_PREFIX}/etc \
--sbindir=#{CREW_PREFIX}/bin" --sbindir=#{CREW_PREFIX}/bin"
system 'make' system 'make'

View File

@@ -122,7 +122,7 @@ class Graphicsmagick < Package
end end
def self.build def self.build
system "#{CREW_ENV_OPTIONS.gsub('-mfpu=vfpv3-d16', '-mfpu=neon-fp16')} ./configure #{CREW_OPTIONS} \ system "#{CREW_ENV_OPTIONS.gsub('-mfpu=vfpv3-d16', '-mfpu=neon-fp16')} ./configure #{CREW_CONFIGURE_OPTIONS} \
--with-windows-font-dir=#{CREW_PREFIX}/share/fonts/truetype/msttcorefonts \ --with-windows-font-dir=#{CREW_PREFIX}/share/fonts/truetype/msttcorefonts \
--with-perl=#{CREW_PREFIX}/bin/perl \ --with-perl=#{CREW_PREFIX}/bin/perl \
--disable-maintainer-mode \ --disable-maintainer-mode \

View File

@@ -26,7 +26,7 @@ class Grep < Package
def self.build def self.build
system "CPPFLAGS=-DHAVE_DYNAMIC_LIBPCRE \ system "CPPFLAGS=-DHAVE_DYNAMIC_LIBPCRE \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_CONFIGURE_OPTIONS} \
--without-included-regex" --without-included-regex"
system 'make' system 'make'
end end

View File

@@ -52,7 +52,7 @@ class Gtk2 < Package
def self.build def self.build
system "#{CREW_ENV_OPTIONS} \ system "#{CREW_ENV_OPTIONS} \
./configure #{CREW_OPTIONS} --with-gdktarget=x11" ./configure #{CREW_CONFIGURE_OPTIONS} --with-gdktarget=x11"
system 'make' system 'make'
end end

View File

@@ -47,7 +47,7 @@ class Gtksharp2 < Package
def self.build def self.build
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto' system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
LDFLAGS='-flto=auto' \ LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_CONFIGURE_OPTIONS} \
--disable-maintainer-mode" --disable-maintainer-mode"
system 'make' system 'make'
end end

View File

@@ -18,7 +18,7 @@ class Gutenprint < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -72,7 +72,7 @@ class Handbrake < Package
# with a libtool error. # with a libtool error.
FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libfribidi.la", "#{CREW_PREFIX}/lib/" FileUtils.ln_sf "#{CREW_LIB_PREFIX}/libfribidi.la", "#{CREW_PREFIX}/lib/"
system "LDFLAGS+=' -L #{CREW_LIB_PREFIX}' ./configure #{CREW_OPTIONS} \ system "LDFLAGS+=' -L #{CREW_LIB_PREFIX}' ./configure #{CREW_CONFIGURE_OPTIONS} \
--enable-x265 \ --enable-x265 \
--enable-numa \ --enable-numa \
--enable-fdk-aac \ --enable-fdk-aac \

View File

@@ -18,7 +18,7 @@ class Haveged < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--disable-daemon \ --disable-daemon \
--enable-nistest \ --enable-nistest \
--enable-enttest \ --enable-enttest \

View File

@@ -20,7 +20,7 @@ class Hello < Package
depends_on 'glibc' # R depends_on 'glibc' # R
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -18,7 +18,7 @@ class Help2man < Package
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -25,7 +25,7 @@ class Homebank < Package
depends_on 'xcb_util' depends_on 'xcb_util'
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -34,7 +34,7 @@ class Hplip < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS} --disable-network-build" system "./configure #{CREW_CONFIGURE_OPTIONS} --disable-network-build"
system 'make' system 'make'
end end

View File

@@ -26,7 +26,7 @@ class Htop < Package
def self.build def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh' system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "CPPFLAGS='-I#{CREW_PREFIX}/include/ncursesw' \ system "CPPFLAGS='-I#{CREW_PREFIX}/include/ncursesw' \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_CONFIGURE_OPTIONS} \
--disable-unicode" --disable-unicode"
system 'make' system 'make'
end end

View File

@@ -22,7 +22,7 @@ class Httrack < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -25,7 +25,7 @@ class Hwdata < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--datadir=#{CREW_PREFIX}/share \ --datadir=#{CREW_PREFIX}/share \
--disable-blacklist" --disable-blacklist"
system 'make' system 'make'

View File

@@ -30,7 +30,7 @@ class Hwloc < Package
system './autogen.sh' system './autogen.sh'
system 'filefix' system 'filefix'
system "#{CREW_ENV_OPTIONS} ./configure \ system "#{CREW_ENV_OPTIONS} ./configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--enable-plugins \ --enable-plugins \
--sysconfdir=#{CREW_PREFIX}/etc" --sysconfdir=#{CREW_PREFIX}/etc"
system 'make' system 'make'

View File

@@ -21,7 +21,7 @@ class Icoutils < Package
depends_on 'perl' depends_on 'perl'
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -23,7 +23,7 @@ class Icu4c < Package
def self.build def self.build
Dir.chdir 'source' do Dir.chdir 'source' do
system "mold -run ./configure \ system "mold -run ./configure \
#{CREW_OPTIONS} \ #{CREW_CONFIGURE_OPTIONS} \
--enable-shared \ --enable-shared \
--disable-samples \ --disable-samples \
--disable-tests" --disable-tests"

View File

@@ -28,7 +28,7 @@ class Intltool < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

View File

@@ -37,7 +37,7 @@ class Iproute2 < Package
end end
def self.build def self.build
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_CONFIGURE_OPTIONS} \
--include_dir=#{CREW_PREFIX}/include" --include_dir=#{CREW_PREFIX}/include"
system 'make' system 'make'
end end

View File

@@ -24,7 +24,7 @@ class Iptables < Package
def self.build def self.build
system "#{CREW_ENV_OPTIONS} \ system "#{CREW_ENV_OPTIONS} \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_CONFIGURE_OPTIONS} \
--enable-static \ --enable-static \
--disable-nftables" --disable-nftables"
system 'make' system 'make'

View File

@@ -25,7 +25,7 @@ class Jack1 < Package
system 'git submodule init' system 'git submodule init'
system 'git submodule update' system 'git submodule update'
system './autogen.sh' system './autogen.sh'
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end
end end

View File

@@ -21,7 +21,7 @@ class Jansson < Package
system 'autoreconf -i' system 'autoreconf -i'
system "env CFLAGS='-flto=auto' \ system "env CFLAGS='-flto=auto' \
CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \ CXXFLAGS='-flto=auto' LDFLAGS='-flto=auto' \
./configure #{CREW_OPTIONS}" ./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make' system 'make'
end end

Some files were not shown because too many files have changed in this diff Show More