Trim trailing whitespace in most files (#4946)

Co-authored-by: Ed Reel <edreel@gmail.com>
This commit is contained in:
Kevin Perkins
2021-01-20 15:58:34 -08:00
committed by GitHub
parent 4add51175f
commit 951925aeb8
151 changed files with 246 additions and 246 deletions

View File

@@ -17,16 +17,16 @@ The crew build life-cycle consists of the stages as follows:
1. `fetch` - During the fetch phase `crew` uses `curl --ssl` to fetch the package 1. `fetch` - During the fetch phase `crew` uses `curl --ssl` to fetch the package
2. `extract` - Once the the package has been fetched, `crew` extracts the package 2. `extract` - Once the the package has been fetched, `crew` extracts the package
3. `self.prebuild` - Ony `sed` commands should be run during this stage - if provided 3. `self.prebuild` - Ony `sed` commands should be run during this stage - if provided
- During this stage `crew` `cd`'s into the extracted directory, and stays there until the `preinstall` stage - During this stage `crew` `cd`'s into the extracted directory, and stays there until the `preinstall` stage
3. `self.patch` - Only `patch` commands should be used during this stage - If provided 3. `self.patch` - Only `patch` commands should be used during this stage - If provided
4. `self.build` - Package is compiled and/or configured 4. `self.build` - Package is compiled and/or configured
5. `self.check` - Package is then checked - If provided 5. `self.check` - Package is then checked - If provided
6. `self.preinstall` - Pre-install checks/edits are done - If provided 6. `self.preinstall` - Pre-install checks/edits are done - If provided
7. `self.install` - Commands to install to `#{CREW_DEST_DIR}` are run 7. `self.install` - Commands to install to `#{CREW_DEST_DIR}` are run
- ONLY required function - ONLY required function
8. `self.postinstall` - Post-install checks/edits are done - If provided 8. `self.postinstall` - Post-install checks/edits are done - If provided
9. Package 9. Package
- Only binary packages call this stage - Only binary packages call this stage
- Contents are checked and packaged, then installed to `#{CREW_PREFIX}` - Contents are checked and packaged, then installed to `#{CREW_PREFIX}`
*** ***
## Binary ## Binary
@@ -38,7 +38,7 @@ Only the functions `self.preinstall` and `self.postinstall` are run during a bin
- `dlist` a list of directories used/installed to by the package - `dlist` a list of directories used/installed to by the package
- `filelist` a list of all files included in the package - `filelist` a list of all files included in the package
*** ***
## Variables ## Variables
The required package variables are as follows: - [Rundown](#rundown) The required package variables are as follows: - [Rundown](#rundown)
@@ -83,7 +83,7 @@ Optional functions are as follows:
- `self.prebuild` - Can be used to define functions<sup>(Or commands)</sup> that should be used to edit various files. - `self.prebuild` - Can be used to define functions<sup>(Or commands)</sup> that should be used to edit various files.
- `def self.patch` - Can be used to define functions<sup>(Or commands)</sup> that should be used to `patch` various files. - `def self.patch` - Can be used to define functions<sup>(Or commands)</sup> that should be used to `patch` various files.
- `def self.preinstall` - Can be used to define functions<sup>(Or commands)</sup> that should happen `pre`-install. - `def self.preinstall` - Can be used to define functions<sup>(Or commands)</sup> that should happen `pre`-install.
- `def self.check` - Can be used to define functions<sup>(Or commands)</sup> that should be used to check the compile binary. - `def self.check` - Can be used to define functions<sup>(Or commands)</sup> that should be used to check the compile binary.
- `def self.postinstall` - Can be used to define functions<sup>(Or commands)</sup> that should happen `post`-install. - `def self.postinstall` - Can be used to define functions<sup>(Or commands)</sup> that should happen `post`-install.
- `is_fake` - Cane be used to label package as meta. - `is_fake` - Cane be used to label package as meta.
@@ -92,7 +92,7 @@ Optional functions are as follows:
The rundown of what each function and variable are/(can be) used for follows. The rundown of what each function and variable are/(can be) used for follows.
A simple example ruby script can be found on the [Wiki](https://github.com/skycocker/chromebrew/wiki/Creating-a-package). A simple example ruby script can be found on the [Wiki](https://github.com/skycocker/chromebrew/wiki/Creating-a-package).
```ruby ```ruby
require 'package' # must occour within each `.rb` require 'package' # must occour within each `.rb`
# Notice the newline # Notice the newline
@@ -105,7 +105,7 @@ class Template < Package # Notice the capitals, EG: 'I3' - would be used for an
source_sha256 '#' # The `sha256` checksum of the downloaded source package source_sha256 '#' # The `sha256` checksum of the downloaded source package
# Notice the newline # Notice the newline
depends_on '#' # Soft where this package depends on depends_on '#' # Soft where this package depends on
depends_on '#' => :build # Only required when the package depends_on '#' => :build # Only required when the package
is built from source is built from source
# Notice the newline # Notice the newline
def self.prebuild # For sed operations, not required def self.prebuild # For sed operations, not required
@@ -114,18 +114,18 @@ class Template < Package # Notice the capitals, EG: 'I3' - would be used for an
def self.patch # For patch operations, not required def self.patch # For patch operations, not required
system '#' # Replace '#' with a patch operation system '#' # Replace '#' with a patch operation
end end
def self.build # Contains the commands which compile the package, required if package con be compiled def self.build # Contains the commands which compile the package, required if package con be compiled
system '#' # Replace '#' with commands to compile the package system '#' # Replace '#' with commands to compile the package
system '#' # Should contain something like, "./configure --prefix=/usr/local" system '#' # Should contain something like, "./configure --prefix=/usr/local"
system '#' # Use in case additions commands are required system '#' # Use in case additions commands are required
system '#' # Should contain something like, "'make -j$(nproc)'" system '#' # Should contain something like, "'make -j$(nproc)'"
end end
def self.check # For commands to check the build quality, called by 'crew build' def self.check # For commands to check the build quality, called by 'crew build'
system '#' system '#'
end end
def self.preinstall # For pre-install conditions, not required def self.preinstall # For pre-install conditions, not required
system '#' system '#'
end end
@@ -133,9 +133,9 @@ class Template < Package # Notice the capitals, EG: 'I3' - would be used for an
def self.install # For make install, required if package can be installed def self.install # For make install, required if package can be installed
system '#' # Should contain something like, "'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'" system '#' # Should contain something like, "'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'"
end end
def self.postinstall # For post-install messages or operations, not required def self.postinstall # For post-install messages or operations, not required
system '#' system '#'
end end
end end
``` ```
@@ -146,7 +146,7 @@ end
<a name="Arch">**Arch**</a>: Chromebrew packages for `x86_64`, `i686`, `armv7l`, and `aarch64`. <a name="Arch">**Arch**</a>: Chromebrew packages for `x86_64`, `i686`, `armv7l`, and `aarch64`.
<a name="More">**More**</a>: Must come from an official source, not a distro's source archive. Should contain the version number<sup>(Which must be equal to the version variable)</sup> `https` is preferred over `http` or `ftp` - When possible. <a name="More">**More**</a>: Must come from an official source, not a distro's source archive. Should contain the version number<sup>(Which must be equal to the version variable)</sup> `https` is preferred over `http` or `ftp` - When possible.
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.

View File

@@ -72,7 +72,7 @@ CREW_MESON_OPTIONS = "-Dprefix=#{CREW_PREFIX} -Dlibdir=#{CREW_LIB_PREFIX} -Dmand
CREW_MESON_LTO_OPTIONS = "-Dprefix=#{CREW_PREFIX} -Dlibdir=#{CREW_LIB_PREFIX} -Dmandir=#{CREW_MAN_PREFIX} -Dbuildtype=release -Dcpp_args='-flto -fuse-ld=gold' -Dcpp_link_args='-flto' -Dc_args='-flto -fuse-ld=gold' -Dc_link_args='-flto'" CREW_MESON_LTO_OPTIONS = "-Dprefix=#{CREW_PREFIX} -Dlibdir=#{CREW_LIB_PREFIX} -Dmandir=#{CREW_MAN_PREFIX} -Dbuildtype=release -Dcpp_args='-flto -fuse-ld=gold' -Dcpp_link_args='-flto' -Dc_args='-flto -fuse-ld=gold' -Dc_link_args='-flto'"
# Cmake sometimes wants to use LIB_SUFFIX to install libs in LIB64, so specify such for x86_64 # Cmake sometimes wants to use LIB_SUFFIX to install libs in LIB64, so specify such for x86_64
# This is often considered deprecated. See discussio at https://gitlab.kitware.com/cmake/cmake/-/issues/18640 # This is often considered deprecated. See discussio at https://gitlab.kitware.com/cmake/cmake/-/issues/18640
# and also https://bugzilla.redhat.com/show_bug.cgi?id=1425064 # and also https://bugzilla.redhat.com/show_bug.cgi?id=1425064
# Let's have two CREW_CMAKE_OPTIONS since this avoids the logic in the recipe file. # Let's have two CREW_CMAKE_OPTIONS since this avoids the logic in the recipe file.
CREW_CMAKE_OPTIONS = "-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_LIBRARY_PATH=#{CREW_LIB_PREFIX} -DCMAKE_BUILD_TYPE=Release --build=#{CREW_BUILD} --host=#{CREW_BUILD} --target=#{CREW_BUILD}" CREW_CMAKE_OPTIONS = "-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_LIBRARY_PATH=#{CREW_LIB_PREFIX} -DCMAKE_BUILD_TYPE=Release --build=#{CREW_BUILD} --host=#{CREW_BUILD} --target=#{CREW_BUILD}"

View File

@@ -23,11 +23,11 @@ class Adwaita_icon_theme < Package
depends_on 'gtk3' depends_on 'gtk3'
depends_on 'librsvg' depends_on 'librsvg'
depends_on 'gdk_pixbuf' depends_on 'gdk_pixbuf'
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'llvm' => :build depends_on 'llvm' => :build
depends_on 'xdg_base' depends_on 'xdg_base'
def self.build def self.build
ENV['CFLAGS'] = "-fuse-ld=lld" ENV['CFLAGS'] = "-fuse-ld=lld"
ENV['CXXFLAGS'] = "-fuse-ld=lld" ENV['CXXFLAGS'] = "-fuse-ld=lld"
@@ -42,7 +42,7 @@ class Adwaita_icon_theme < Package
def self.install def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}" system "make install DESTDIR=#{CREW_DEST_DIR}"
end end
def self.postinstall def self.postinstall
puts "To add basic settings, execute the following:".lightblue puts "To add basic settings, execute the following:".lightblue
puts "Note that this will overwrite any existing ~/.config/gtk-3.0/settings.ini file!".lightred puts "Note that this will overwrite any existing ~/.config/gtk-3.0/settings.ini file!".lightred

View File

@@ -28,7 +28,7 @@ class Alsa_utils < Package
def self.patch def self.patch
system "sed -i 's/export CFLAGS=/export CFLAGS+=/g' gitcompile" system "sed -i 's/export CFLAGS=/export CFLAGS+=/g' gitcompile"
end end
def self.build def self.build
system "CFLAGS='-fuse-ld=lld ' ./gitcompile #{CREW_OPTIONS}" system "CFLAGS='-fuse-ld=lld ' ./gitcompile #{CREW_OPTIONS}"
end end

View File

@@ -23,7 +23,7 @@ class Aria2 < Package
}) })
depends_on 'libgcrypt' depends_on 'libgcrypt'
def self.build def self.build
system "env CFLAGS='-fuse-ld=gold -flto' CXXFLAGS='-fuse-ld=gold -flto' \ system "env CFLAGS='-fuse-ld=gold -flto' CXXFLAGS='-fuse-ld=gold -flto' \
./configure #{CREW_OPTIONS} \ ./configure #{CREW_OPTIONS} \

View File

@@ -41,7 +41,7 @@ class Arpack_ng < Package
suffix = '64' suffix = '64'
interface = 'ON' interface = 'ON'
end end
# Use the gold linker. # Use the gold linker.
old_ld = `ld_default g`.chomp old_ld = `ld_default g`.chomp
system 'cmake', system 'cmake',
'-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_BUILD_TYPE=Release',

View File

@@ -20,9 +20,9 @@ class At_spi2_atk < Package
i686: '165854bff7a99fcfaf7a807e41eaa6d889c10998250f0c706dcb9eee3d198aba', i686: '165854bff7a99fcfaf7a807e41eaa6d889c10998250f0c706dcb9eee3d198aba',
x86_64: '01c66589188a81499b7ac4424f937f3adbe7265bb1c55d8d0d8746df8d302061', x86_64: '01c66589188a81499b7ac4424f937f3adbe7265bb1c55d8d0d8746df8d302061',
}) })
depends_on 'automake' => :build depends_on 'automake' => :build
depends_on 'at_spi2_core' depends_on 'at_spi2_core'
depends_on 'atk' depends_on 'atk'
def self.build def self.build

View File

@@ -29,7 +29,7 @@ class At_spi2_core < Package
depends_on 'libxcb' depends_on 'libxcb'
depends_on 'gtk_doc' depends_on 'gtk_doc'
depends_on 'libtool' depends_on 'libtool'
def self.build def self.build
system "./autogen.sh" system "./autogen.sh"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"

View File

@@ -20,7 +20,7 @@ class Atool < Package
i686: '690926e3c631340d2e3f0a91390d4a0c4c8ab1dd9001dc0aaf8eff019eaeb3d7', i686: '690926e3c631340d2e3f0a91390d4a0c4c8ab1dd9001dc0aaf8eff019eaeb3d7',
x86_64: 'e8e9a3db6efd80ad3b5b18725c4c5c4816e56fc101ca273de072af489f8c0d1e', x86_64: 'e8e9a3db6efd80ad3b5b18725c4c5c4816e56fc101ca273de072af489f8c0d1e',
}) })
depends_on 'perl' depends_on 'perl'
def self.build def self.build
@@ -31,5 +31,5 @@ class Atool < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end end
end end

View File

@@ -24,7 +24,7 @@ class Babl < Package
depends_on 'meson' => :build depends_on 'meson' => :build
depends_on 'lcms' depends_on 'lcms'
depends_on 'pango' depends_on 'pango'
def self.build def self.build
system 'meson', system 'meson',
"--prefix=#{CREW_PREFIX}", "--prefix=#{CREW_PREFIX}",
@@ -32,7 +32,7 @@ class Babl < Package
'_build' '_build'
system 'ninja -v -C _build' system 'ninja -v -C _build'
end end
def self.check def self.check
system 'ninja -C _build test' system 'ninja -C _build test'
end end

View File

@@ -49,7 +49,7 @@ class Bacula < Package
'--enable-smartalloc', '--enable-smartalloc',
'--with-mysql', '--with-mysql',
'--with-x' '--with-x'
system "sed -i 's,/usr/share,#{CREW_PREFIX}/share,g' Makefile" system "sed -i 's,/usr/share,#{CREW_PREFIX}/share,g' Makefile"
system 'make' system 'make'
end end

View File

@@ -31,7 +31,7 @@ class Bash < Package
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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
def self.postinstall def self.postinstall
puts puts
puts "To complete the installation, execute the following:".lightblue puts "To complete the installation, execute the following:".lightblue

View File

@@ -35,23 +35,23 @@ diff config.mk.orig config.mk -u
@@ -12,8 +12,8 @@ @@ -12,8 +12,8 @@
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man MANPREFIX = ${PREFIX}/share/man
-X11INC = /usr/X11R6/include -X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib -X11LIB = /usr/X11R6/lib
+X11INC = /usr/local/include +X11INC = /usr/local/include
+X11LIB = /usr/local/lib +X11LIB = /usr/local/lib
# Xinerama, comment if you don't want it # Xinerama, comment if you don't want it
XINERAMALIBS = -lXinerama XINERAMALIBS = -lXinerama
@@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
# freetype # freetype
FREETYPELIBS = -lfontconfig -lXft FREETYPELIBS = -lfontconfig -lXft
-FREETYPEINC = /usr/include/freetype2 -FREETYPEINC = /usr/include/freetype2
+FREETYPEINC = /usr/local/include/freetype2 +FREETYPEINC = /usr/local/include/freetype2
# OpenBSD (uncomment) # OpenBSD (uncomment)
#FREETYPEINC = ${X11INC}/freetype2 #FREETYPEINC = ${X11INC}/freetype2
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
# flags # flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${DEBUG_CPPFLAGS} CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${DEBUG_CPPFLAGS}
@@ -59,11 +59,11 @@ diff config.mk.orig config.mk -u
-CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS} $(NAME_DEFINES) -CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS} $(NAME_DEFINES)
+CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS}
LDFLAGS = ${LIBS} LDFLAGS = ${LIBS}
# Solaris # Solaris
@@ -44,4 +44,4 @@ @@ -44,4 +44,4 @@
#LDFLAGS = ${LIBS} #LDFLAGS = ${LIBS}
# compiler and linker # compiler and linker
-CC = cc -CC = cc
+#CC = cc +#CC = cc

View File

@@ -13,7 +13,7 @@ class Cabal < Package
source_url 'https://downloads.haskell.org/~cabal/cabal-install-2.4.1.0/cabal-install-2.4.1.0-x86_64-unknown-linux.tar.xz' source_url 'https://downloads.haskell.org/~cabal/cabal-install-2.4.1.0/cabal-install-2.4.1.0-x86_64-unknown-linux.tar.xz'
source_sha256 '6136c189ffccaa39916f9cb5788f757166444a2d0c473b987856a79ecbf0c714' source_sha256 '6136c189ffccaa39916f9cb5788f757166444a2d0c473b987856a79ecbf0c714'
end end
case ARCH case ARCH
when 'i686', 'x86_64' when 'i686', 'x86_64'
depends_on 'ghc' depends_on 'ghc'

View File

@@ -22,16 +22,16 @@ class Cbase < Package
}) })
depends_on 'expat' depends_on 'expat'
def self.build def self.build
# fix error on arm architecture # fix error on arm architecture
case ARCH case ARCH
when 'armv7l','aarch64' when 'armv7l','aarch64'
Dir.chdir("lib") do Dir.chdir("lib") do
system "sed -i '376c if (&vp == NULL)' strings.c" # change from if(!vp) to if (&vp == NULL), tested on armv7l system "sed -i '376c if (&vp == NULL)' strings.c" # change from if(!vp) to if (&vp == NULL), tested on armv7l
end end
end end
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"
end end

View File

@@ -36,13 +36,13 @@ class Ccache < Package
system "ninja" system "ninja"
end end
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
Dir.chdir 'build' do Dir.chdir 'build' do
FileUtils.mkdir_p "#{CREW_DEST_LIB_PREFIX}/ccache/bin" FileUtils.mkdir_p "#{CREW_DEST_LIB_PREFIX}/ccache/bin"
system "for _prog in gcc g++ c++; do system "for _prog in gcc g++ c++; do
ln -s #{CREW_PREFIX}/bin/ccache #{CREW_DEST_LIB_PREFIX}/ccache/bin/$_prog ln -s #{CREW_PREFIX}/bin/ccache #{CREW_DEST_LIB_PREFIX}/ccache/bin/$_prog
ln -s #{CREW_PREFIX}/bin/ccache #{CREW_DEST_LIB_PREFIX}/ccache/bin/${CHOST}-$_prog ln -s #{CREW_PREFIX}/bin/ccache #{CREW_DEST_LIB_PREFIX}/ccache/bin/${CHOST}-$_prog
done done
for _prog in cc clang clang++; do for _prog in cc clang clang++; do
@@ -50,7 +50,7 @@ class Ccache < Package
done" done"
end end
end end
def self.postinstall def self.postinstall
system "ccache --set-config=sloppiness=file_macro,locale,time_macros" system "ccache --set-config=sloppiness=file_macro,locale,time_macros"
puts "To compile using ccache you need to add the ccache bin folder to your path".lightblue puts "To compile using ccache you need to add the ccache bin folder to your path".lightblue

View File

@@ -20,7 +20,7 @@ class Clojure < Package
i686: '5a1db6246686b0485d62032530f069aa8f1a201c26aa34e09375395b0a4dffe1', i686: '5a1db6246686b0485d62032530f069aa8f1a201c26aa34e09375395b0a4dffe1',
x86_64: '24966018c4e0d9ab94fe91a6094c03da6e95673de5c9a5a4a0b413a54027332e', x86_64: '24966018c4e0d9ab94fe91a6094c03da6e95673de5c9a5a4a0b413a54027332e',
}) })
depends_on 'jdk8' depends_on 'jdk8'
depends_on 'rlwrap' depends_on 'rlwrap'

View File

@@ -36,7 +36,7 @@ class Cracklib < Package
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end
def self.test def self.test
Dir.chdir 'src' do Dir.chdir 'src' do
system 'make test' system 'make test'

View File

@@ -66,7 +66,7 @@ _EOF_'
--disable-webrtc-apm \ --disable-webrtc-apm \
--enable-sse42 \ --enable-sse42 \
--enable-avx \ --enable-avx \
--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_OPTIONS} \

View File

@@ -39,7 +39,7 @@ class Cvs < Package
"--libdir=#{CREW_LIB_PREFIX}" "--libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end

View File

@@ -26,7 +26,7 @@ class Dconf < Package
depends_on 'glib' # version 2 depends_on 'glib' # version 2
depends_on 'meson' => :build depends_on 'meson' => :build
depends_on 'vala' => :build depends_on 'vala' => :build
def self.build def self.build
system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} builddir" system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} builddir"
system "ninja -C builddir" system "ninja -C builddir"
@@ -35,5 +35,5 @@ class Dconf < Package
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end
end end

View File

@@ -42,5 +42,5 @@ class Dejagnu < Package
system "install -v -m644 doc/dejagnu.html #{CREW_DEST_PREFIX}/share/doc/dejagnu-1.6.1" system "install -v -m644 doc/dejagnu.html #{CREW_DEST_PREFIX}/share/doc/dejagnu-1.6.1"
system "install -v -m644 doc/dejagnu.txt #{CREW_DEST_PREFIX}/share/doc/dejagnu-1.6.1" system "install -v -m644 doc/dejagnu.txt #{CREW_DEST_PREFIX}/share/doc/dejagnu-1.6.1"
end end
end end

View File

@@ -12,7 +12,7 @@ class Docbook_xml < Package
depends_on 'docbook_xml44' depends_on 'docbook_xml44'
depends_on 'docbook_xml43' depends_on 'docbook_xml43'
depends_on 'docbook_xml42' depends_on 'docbook_xml42'
is_fake is_fake
end end

View File

@@ -23,7 +23,7 @@ class Docbook_xml42 < Package
depends_on 'docbook_xml51' depends_on 'docbook_xml51'
depends_on 'docbook_xsl' # Requires the catalog.xml created within this package depends_on 'docbook_xsl' # Requires the catalog.xml created within this package
def self.prebuild def self.prebuild
system "cat << EOF > ./remove_add.sh system "cat << EOF > ./remove_add.sh
sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml

View File

@@ -25,7 +25,7 @@ class Docbook_xml43 < Package
depends_on 'xmlcatmgr' depends_on 'xmlcatmgr'
depends_on 'docbook_xml' depends_on 'docbook_xml'
depends_on 'docbook_xsl' depends_on 'docbook_xsl'
def self.prebuild def self.prebuild
system "cat << EOF > ./remove_add.sh system "cat << EOF > ./remove_add.sh
sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml

View File

@@ -23,7 +23,7 @@ class Docbook_xml44 < Package
depends_on 'docbook_xml51' depends_on 'docbook_xml51'
depends_on 'docbook_xsl' depends_on 'docbook_xsl'
def self.prebuild def self.prebuild
system "cat << EOF > ./remove_add.sh system "cat << EOF > ./remove_add.sh
sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml

View File

@@ -23,7 +23,7 @@ class Docbook_xml45 < Package
depends_on 'docbook_xml51' depends_on 'docbook_xml51'
depends_on 'docbook_xsl' depends_on 'docbook_xsl'
def self.prebuild def self.prebuild
system "cat << EOF > ./remove_add.sh system "cat << EOF > ./remove_add.sh
sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml

View File

@@ -23,7 +23,7 @@ class Docbook_xml50 < Package
depends_on 'docbook_xml51' depends_on 'docbook_xml51'
depends_on 'docbook_xsl' depends_on 'docbook_xsl'
def self.prebuild def self.prebuild
system "cat << EOF > ./remove_add.sh system "cat << EOF > ./remove_add.sh
sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml sed -i -e 's,<!-- .* -->,,g' #{CREW_PREFIX}/etc/xml/catalog.xml

View File

@@ -80,7 +80,7 @@ class Docbook_xml51 < Package
'http://www.oasis-open.org/docbook/xml/#{xml_version}' \ 'http://www.oasis-open.org/docbook/xml/#{xml_version}' \
'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}' \ 'file://#{CREW_PREFIX}/share/xml/docbook/#{xml_dtd}' \
#{CREW_DEST_PREFIX}/etc/xml/docbook.xml" #{CREW_DEST_PREFIX}/etc/xml/docbook.xml"
system "rm -f #{CREW_PREFIX}/etc/xml/catalog* && \ system "rm -f #{CREW_PREFIX}/etc/xml/catalog* && \
xmlcatalog --noout --create #{CREW_DEST_PREFIX}/etc/xml/catalog.xml && \ xmlcatalog --noout --create #{CREW_DEST_PREFIX}/etc/xml/catalog.xml && \
xmlcatalog --noout --add 'delegatePublic' \ xmlcatalog --noout --add 'delegatePublic' \

View File

@@ -56,4 +56,4 @@ EOF"
end end
end end
# NOTE: # NOTE:

View File

@@ -22,7 +22,7 @@ class Eventstat < Package
}) })
def self.build def self.build
system "CPPFLAGS=-I#{CREW_PREFIX}/include/ncurses make" system "CPPFLAGS=-I#{CREW_PREFIX}/include/ncurses make"
end end
def self.install def self.install

View File

@@ -22,7 +22,7 @@ class Fakeroot < Package
}) })
depends_on 'libcap' depends_on 'libcap'
def self.build def self.build
system './bootstrap' system './bootstrap'
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}" system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"

View File

@@ -22,7 +22,7 @@ class Faultstat < Package
}) })
def self.build def self.build
system "CPPFLAGS=-I#{CREW_PREFIX}/include/ncurses make" system "CPPFLAGS=-I#{CREW_PREFIX}/include/ncurses make"
end end
def self.install def self.install

View File

@@ -36,7 +36,7 @@ class Filecmd < Package
def self.check def self.check
system "make", "check" system "make", "check"
end end
def self.install def self.install
system "install -Dm755 filefix #{CREW_DEST_PREFIX}/bin/filefix" system "install -Dm755 filefix #{CREW_DEST_PREFIX}/bin/filefix"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"

View File

@@ -20,7 +20,7 @@ class Filezilla < Package
depends_on 'wayland_protocols' depends_on 'wayland_protocols'
depends_on 'mesa' depends_on 'mesa'
depends_on 'xcb_util' depends_on 'xcb_util'
def self.patch def self.patch
system 'filefix' system 'filefix'

View File

@@ -21,7 +21,7 @@ class Firejail < Package
i686: 'b5e81766f7cd14ea389ed9b767178d113e4073e021c67b6cf7a2ab26a8dcc00f', i686: 'b5e81766f7cd14ea389ed9b767178d113e4073e021c67b6cf7a2ab26a8dcc00f',
x86_64: 'c6c490e1955926bebba1a01bac60472fc9d1a536ad4339b6ab1c5ac278be2b53', x86_64: 'c6c490e1955926bebba1a01bac60472fc9d1a536ad4339b6ab1c5ac278be2b53',
}) })
def self.build def self.build
system "sed -i 's,-fstack-protector-all,,g' src/common.mk.in" system "sed -i 's,-fstack-protector-all,,g' src/common.mk.in"
system "sed -i 's,-fstack-protector-all,,g' src/libtrace/Makefile.in" system "sed -i 's,-fstack-protector-all,,g' src/libtrace/Makefile.in"

View File

@@ -24,7 +24,7 @@ class Font_bh_ttf < Package
depends_on 'bdftopcf' depends_on 'bdftopcf'
depends_on 'font_util' depends_on 'font_util'
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_OPTIONS} --with-fontrootdir=#{CREW_PREFIX}/share/fonts"
system 'make' system 'make'

View File

@@ -24,7 +24,7 @@ class Freetype_sub < Package
depends_on 'expat' depends_on 'expat'
depends_on 'libpng' # freetype needs zlib optionally. zlib is also the dependency of libpng depends_on 'libpng' # freetype needs zlib optionally. zlib is also the dependency of libpng
depends_on 'bz2' depends_on 'bz2'
def self.build def self.build
system 'pip3 install docwriter' system 'pip3 install docwriter'
system "./configure CFLAGS=' -fPIC' #{CREW_OPTIONS} --enable-freetype-config --without-harfbuzz" system "./configure CFLAGS=' -fPIC' #{CREW_OPTIONS} --enable-freetype-config --without-harfbuzz"
@@ -36,7 +36,7 @@ class Freetype_sub < Package
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
def self.postinstall def self.postinstall
system "find #{CREW_BREW_DIR}/* -name freetype*.tar | xargs rm -rf" # make sure to delete downloaded files system "find #{CREW_BREW_DIR}/* -name freetype*.tar | xargs rm -rf" # make sure to delete downloaded files
end end

View File

@@ -36,7 +36,7 @@ class Gcc10 < Package
depends_on 'isl' depends_on 'isl'
depends_on 'glibc' depends_on 'glibc'
depends_on 'zstd' depends_on 'zstd'
def self.preinstall def self.preinstall
installed_gccver = `gcc -v 2>&1 | tail -1 | cut -d' ' -f3`.chomp installed_gccver = `gcc -v 2>&1 | tail -1 | cut -d' ' -f3`.chomp
gcc_version = version.split("-")[0] gcc_version = version.split("-")[0]
@@ -49,9 +49,9 @@ class Gcc10 < Package
system "ccache --set-config=sloppiness=file_macro,locale,time_macros" system "ccache --set-config=sloppiness=file_macro,locale,time_macros"
# Prefix ccache to path. # Prefix ccache to path.
ENV['PATH'] = "#{CREW_LIB_PREFIX}/ccache/bin:#{CREW_PREFIX}/bin:/usr/bin:/bin" ENV['PATH'] = "#{CREW_LIB_PREFIX}/ccache/bin:#{CREW_PREFIX}/bin:/usr/bin:/bin"
gcc_version = version.split("-")[0] gcc_version = version.split("-")[0]
# previous compile issue # previous compile issue
# /usr/local/bin/ld: cannot find crti.o: No such file or directory # /usr/local/bin/ld: cannot find crti.o: No such file or directory
# /usr/local/bin/ld: cannot find /usr/lib64/libc_nonshared.a # /usr/local/bin/ld: cannot find /usr/lib64/libc_nonshared.a
@@ -177,7 +177,7 @@ class Gcc10 < Package
FileUtils.ln_s "#{CREW_PREFIX}/bin/#{gcc_arch}-gcc-nm-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-gcc-nm" FileUtils.ln_s "#{CREW_PREFIX}/bin/#{gcc_arch}-gcc-nm-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-gcc-nm"
FileUtils.ln_s "#{CREW_PREFIX}/bin/#{gcc_arch}-gcc-ranlib-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-gcc-ranlib" FileUtils.ln_s "#{CREW_PREFIX}/bin/#{gcc_arch}-gcc-ranlib-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-gcc-ranlib"
FileUtils.ln_s "#{CREW_PREFIX}/bin/#{gcc_arch}-gfortran-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-gfortran" FileUtils.ln_s "#{CREW_PREFIX}/bin/#{gcc_arch}-gfortran-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-gfortran"
FileUtils.ln_s "#{CREW_PREFIX}/bin/gcc-ar-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-ar" FileUtils.ln_s "#{CREW_PREFIX}/bin/gcc-ar-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-ar"
FileUtils.ln_s "#{CREW_PREFIX}/bin/gcc-nm-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-nm" FileUtils.ln_s "#{CREW_PREFIX}/bin/gcc-nm-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-nm"
FileUtils.ln_s "#{CREW_PREFIX}/bin/gcc-ranlib-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-ranlib" FileUtils.ln_s "#{CREW_PREFIX}/bin/gcc-ranlib-#{gcc_version}", "#{CREW_DEST_PREFIX}/bin/#{gcc_arch}-ranlib"

View File

@@ -48,7 +48,7 @@ class Gegl < Package
'_build' '_build'
system 'ninja -v -C _build' system 'ninja -v -C _build'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install"
end end

View File

@@ -38,7 +38,7 @@ class Gemacs < Package
--with-gif=yes \ --with-gif=yes \
--with-jpeg=yes \ --with-jpeg=yes \
--with-png=yes \ --with-png=yes \
--with-rsvg=yes" --with-rsvg=yes"
system 'make' system 'make'
end end

View File

@@ -36,7 +36,7 @@ class Get_iplayer < Package
system "make install" system "make install"
system "make DESTIDR=#{CREW_DEST_DIR} install" system "make DESTIDR=#{CREW_DEST_DIR} install"
end end
system "cpanm JSON::PP --force" system "cpanm JSON::PP --force"
system "cpanm LWP --force" system "cpanm LWP --force"
system "cpanm LWP::Protocol::https --force" system "cpanm LWP::Protocol::https --force"
@@ -51,7 +51,7 @@ class Get_iplayer < Package
system "make install" system "make install"
system "make DESTIDR=#{CREW_DEST_DIR} install" system "make DESTIDR=#{CREW_DEST_DIR} install"
end end
system "cpanm CGI --force" system "cpanm CGI --force"
end end

View File

@@ -22,7 +22,7 @@ class Giblib < Package
}) })
depends_on 'imlib2' depends_on 'imlib2'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system 'make' system 'make'

View File

@@ -33,7 +33,7 @@ class Glade < Package
system "meson configure build" system "meson configure build"
system "ninja -C build" system "ninja -C build"
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
end end

View File

@@ -31,7 +31,7 @@ class Glew < Package
system "sed -i 's/endif()/endif ()/g' cmake/CMakeLists.txt" system "sed -i 's/endif()/endif ()/g' cmake/CMakeLists.txt"
end end
end end
def self.build def self.build
#ENV['CFLAGS.EXTRA'] = "-fuse-ld=lld" #ENV['CFLAGS.EXTRA'] = "-fuse-ld=lld"
#ENV['CFLAGS'] = "-fuse-ld=lld" #ENV['CFLAGS'] = "-fuse-ld=lld"

View File

@@ -7,7 +7,7 @@ class Gn < Package
compatibility 'all' compatibility 'all'
source_url 'file:///dev/null' source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gn-dca877f-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gn-dca877f-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gn-dca877f-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gn-dca877f-chromeos-armv7l.tar.xz',

View File

@@ -20,7 +20,7 @@ class Gnome_common < Package
i686: 'c979f4542bb8b87fb4883787005a1ccbec9e752829885cd5e3c66a385336a15c', i686: 'c979f4542bb8b87fb4883787005a1ccbec9e752829885cd5e3c66a385336a15c',
x86_64: 'c04053bbe47296b90c22a3d5767d54645f819ef73ee362a60e1e179a8ce836cd', x86_64: 'c04053bbe47296b90c22a3d5767d54645f819ef73ee362a60e1e179a8ce836cd',
}) })
def self.build def self.build
system "sh autogen.sh" system "sh autogen.sh"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"

View File

@@ -30,5 +30,5 @@ class Gpart < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end end
end end

View File

@@ -30,12 +30,12 @@ class Graphene < Package
-Darm_neon=false \ -Darm_neon=false \
-Dinstalled_tests=false \ -Dinstalled_tests=false \
-Dtests=false \ -Dtests=false \
_build" _build"
system "meson configure _build" system "meson configure _build"
system "ninja -v -C _build" system "ninja -v -C _build"
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install"
end end
end end

View File

@@ -29,7 +29,7 @@ class Graphite < Package
system "cmake #{CREW_CMAKE_LIBSUFFIX_OPTIONS} .." system "cmake #{CREW_CMAKE_LIBSUFFIX_OPTIONS} .."
end end
end end
def self.install def self.install
Dir.chdir 'build' do Dir.chdir 'build' do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'

View File

@@ -38,7 +38,7 @@ class Gspell < Package
# Fixes ./configure: /usr/bin/file: No such file or directory # Fixes ./configure: /usr/bin/file: No such file or directory
system 'filefix' system 'filefix'
end end
def self.build def self.build
system "CFLAGS=-fuse-ld=lld \ system "CFLAGS=-fuse-ld=lld \
CXXFLAGS=-fuse-ld=lld \ CXXFLAGS=-fuse-ld=lld \

View File

@@ -48,7 +48,7 @@ class Gst_plugins_base < Package
"-Dgst_debug=false", "-Dgst_debug=false",
"-Dexamples=disabled", "-Dexamples=disabled",
"build" "build"
system "ninja -C build" system "ninja -C build"
end end
def self.install def self.install

View File

@@ -29,7 +29,7 @@ class Gtest < Package
ARCH_C_FLAGS = '' ARCH_C_FLAGS = ''
ARCH_CXX_FLAGS = '' ARCH_CXX_FLAGS = ''
end end
def self.build def self.build
system "sed -E \"s|(GOOGLETEST_VERSION) [0-9\\.]+|\\1 1.10.0|\" -i CMakeLists.txt" system "sed -E \"s|(GOOGLETEST_VERSION) [0-9\\.]+|\\1 1.10.0|\" -i CMakeLists.txt"
system "env LIBRARY_PATH=#{CREW_LIB_PREFIX} cmake -G Ninja \ system "env LIBRARY_PATH=#{CREW_LIB_PREFIX} cmake -G Ninja \
@@ -46,7 +46,7 @@ class Gtest < Package
-Bbuilddir" -Bbuilddir"
system 'ninja -C builddir' system 'ninja -C builddir'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end end

View File

@@ -20,7 +20,7 @@ class Homebank < Package
i686: 'cecfc9b0b8e6952ab81ab38213c648a4c475843b264f55fa0067163a533108e9', i686: 'cecfc9b0b8e6952ab81ab38213c648a4c475843b264f55fa0067163a533108e9',
x86_64: 'c8d1b25d778c7bfbecc9b2704e1e5d166213be5d6fe760c624f1adf86df327de', x86_64: 'c8d1b25d778c7bfbecc9b2704e1e5d166213be5d6fe760c624f1adf86df327de',
}) })
depends_on 'libofx' depends_on 'libofx'
depends_on 'libsoup' depends_on 'libsoup'
depends_on 'gtk3' depends_on 'gtk3'

View File

@@ -22,7 +22,7 @@ class Hunspell_base < Package
}) })
depends_on 'readline' depends_on 'readline'
def self.build def self.build
system 'autoreconf -vfi' system 'autoreconf -vfi'
system "./configure", system "./configure",

View File

@@ -6,7 +6,7 @@ class I3 < Package
version '4.18.3' version '4.18.3'
compatibility 'all' compatibility 'all'
source_url 'https://i3wm.org/downloads/i3-4.18.3.tar.bz2' source_url 'https://i3wm.org/downloads/i3-4.18.3.tar.bz2'
source_sha256 '53ae7903fad6eea830d58e949698e4a502c432c0d0a582659a0a59b1b995b10d' source_sha256 '53ae7903fad6eea830d58e949698e4a502c432c0d0a582659a0a59b1b995b10d'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/i3-4.18.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/i3-4.18.3-chromeos-armv7l.tar.xz',
@@ -20,7 +20,7 @@ class I3 < Package
i686: '7583a48fa03974296c0c27a25b44ec2b1fe6aebdce42f98918e3a9981fb5f24c', i686: '7583a48fa03974296c0c27a25b44ec2b1fe6aebdce42f98918e3a9981fb5f24c',
x86_64: '4af8555c05da78e9c24e81475b411c6397fc3afbca733016d422dc00dfc0402e', x86_64: '4af8555c05da78e9c24e81475b411c6397fc3afbca733016d422dc00dfc0402e',
}) })
depends_on 'libev' depends_on 'libev'
depends_on 'startup_notification' depends_on 'startup_notification'
depends_on 'xcb_util_cursor' depends_on 'xcb_util_cursor'
@@ -30,7 +30,7 @@ class I3 < Package
depends_on 'yajl' depends_on 'yajl'
depends_on 'wayland' => :build depends_on 'wayland' => :build
depends_on 'sommelier' depends_on 'sommelier'
def self.build def self.build
system "./configure #{CREW_OPTIONS} --disable-builddir --disable-maintainer-mode --enable-mans" system "./configure #{CREW_OPTIONS} --disable-builddir --disable-maintainer-mode --enable-mans"
system "make -j#{CREW_NPROC}" system "make -j#{CREW_NPROC}"
@@ -49,7 +49,7 @@ class I3 < Package
system "chmod +x starti3" system "chmod +x starti3"
end end
end end
def self.postinstall def self.postinstall
puts puts
puts "To use this package, you need to download XServer XSDL from Google Play Store".lightblue puts "To use this package, you need to download XServer XSDL from Google Play Store".lightblue

View File

@@ -64,7 +64,7 @@ class Imagemagick7 < Package
'--with-perl', '--with-perl',
'--with-rsvg', '--with-rsvg',
'--with-x' '--with-x'
system 'make' system 'make'
end end
def self.install def self.install

View File

@@ -25,7 +25,7 @@ class Intltool < Package
depends_on 'perl_xml_parser' depends_on 'perl_xml_parser'
depends_on 'patch' => :build depends_on 'patch' => :build
depends_on 'wget' => :build depends_on 'wget' => :build
def self.patch def self.patch
system "wget https://raw.githubusercontent.com/Alexpux/MSYS2-packages/master/intltool/perl-5.22-compatibility.patch" system "wget https://raw.githubusercontent.com/Alexpux/MSYS2-packages/master/intltool/perl-5.22-compatibility.patch"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('perl-5.22-compatibility.patch') ) == '9c6527072aada6e3cb9aceb6e07cfdf51d58839a2beb650168da0601a85ebda3' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('perl-5.22-compatibility.patch') ) == '9c6527072aada6e3cb9aceb6e07cfdf51d58839a2beb650168da0601a85ebda3'

View File

@@ -26,9 +26,9 @@ class Itstool < Package
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system 'make' system 'make'
end end
def self.install def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end

View File

@@ -1,4 +1,4 @@
require 'package' require 'package'
class Json2xml < Package class Json2xml < Package
description 'json to xml converter' description 'json to xml converter'

View File

@@ -34,7 +34,7 @@ class Json_glib < Package
def self.check def self.check
system "meson test -C _build" system "meson test -C _build"
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install"
end end

View File

@@ -21,7 +21,7 @@ class Kakoune < Package
i686: 'd602be65796ba2ec9b13a105910225469e9ba0b73c32459169b1e8ea8784ce13', i686: 'd602be65796ba2ec9b13a105910225469e9ba0b73c32459169b1e8ea8784ce13',
x86_64: 'daed7d68e53f1f2751dc6a9a59c3efaab0a89651ff690b2cb5ac8be02e4d95f1', x86_64: 'daed7d68e53f1f2751dc6a9a59c3efaab0a89651ff690b2cb5ac8be02e4d95f1',
}) })
depends_on 'ncurses' => :build depends_on 'ncurses' => :build
depends_on 'asciidoc' => :build depends_on 'asciidoc' => :build
depends_on 'libxslt' => :build depends_on 'libxslt' => :build

View File

@@ -24,7 +24,7 @@ class Ld_default < Package
if [[ \"\${type}\" == \"ELF\" ]]; then if [[ \"\${type}\" == \"ELF\" ]]; then
current=\$(basename $(find . -inum \$(ls -i ld | cut -d' ' -f1) | fgrep 'ld.')) current=\$(basename $(find . -inum \$(ls -i ld | cut -d' ' -f1) | fgrep 'ld.'))
elif [[ \"${type}\" == \"symbolic\" ]]; then elif [[ \"${type}\" == \"symbolic\" ]]; then
current=\$(basename \$(readlink ld)) current=\$(basename \$(readlink ld))
elif [[ \"${type}\" == \"Bourne-Again\" ]]; then elif [[ \"${type}\" == \"Bourne-Again\" ]]; then
current=\$(basename \$(tail -1 ld | cut -d' ' -f1)) current=\$(basename \$(tail -1 ld | cut -d' ' -f1))

View File

@@ -35,7 +35,7 @@ class Ldc < Package # The first character of the class name must
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('ldc-0.17.5-src.tar.gz') ) == '7aa540a135f9fa1ee9722cad73100a8f3600a07f9a11d199d8be68887cc90008' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('ldc-0.17.5-src.tar.gz') ) == '7aa540a135f9fa1ee9722cad73100a8f3600a07f9a11d199d8be68887cc90008'
system "tar xzf ldc-0.17.5-src.tar.gz -C build" system "tar xzf ldc-0.17.5-src.tar.gz -C build"
system "cmake", "-Bbuild/ldc-0.17.5-src", "-Hbuild/ldc-0.17.5-src" system "cmake", "-Bbuild/ldc-0.17.5-src", "-Hbuild/ldc-0.17.5-src"
system "make", "-C", "build/ldc-0.17.5-src", "-j#{CREW_NPROC}" system "make", "-C", "build/ldc-0.17.5-src", "-j#{CREW_NPROC}"
system "cmake", "-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_SKIP_RPATH=ON", "-DBUILD_SHARED_LIBS=BOTH", system "cmake", "-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_SKIP_RPATH=ON", "-DBUILD_SHARED_LIBS=BOTH",
"-DLDC_WITH_LLD=OFF", "-DD_COMPILER=build/ldc-0.17.5-src/bin/ldmd2", "-DLDC_WITH_LLD=OFF", "-DD_COMPILER=build/ldc-0.17.5-src/bin/ldmd2",
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}", "-Bbuild", "-H." "-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}", "-Bbuild", "-H."

View File

@@ -25,8 +25,8 @@ class Libass < Package
#depends_on 'autoconf' => :build #depends_on 'autoconf' => :build
#depends_on 'libtool' => :build #depends_on 'libtool' => :build
depends_on 'fribidi' depends_on 'fribidi'
depends_on 'fontconfig' depends_on 'fontconfig'
def self.build def self.build
system "autoconf" system "autoconf"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"

View File

@@ -22,7 +22,7 @@ class Libcap_ng < Package
}) })
depends_on 'python3' depends_on 'python3'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -22,7 +22,7 @@ class Libconfig < Package
}) })
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"
end end

View File

@@ -43,8 +43,8 @@ class Libdrm < Package
"--libdir=#{CREW_LIB_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"--prefix=#{CREW_PREFIX}", "--prefix=#{CREW_PREFIX}",
"builddir/" "builddir/"
system "ninja -C builddir/" system "ninja -C builddir/"
end end
def self.install def self.install

View File

@@ -20,7 +20,7 @@ class Libev < Package
i686: 'd079e81b116054cf936fe1d3396582911432b8acc203cbdf3babd1df6e4dac9f', i686: 'd079e81b116054cf936fe1d3396582911432b8acc203cbdf3babd1df6e4dac9f',
x86_64: 'dfb18c0c4dbee0bb6b0ca5cdacbb77ba1fb40f8b77e93f02f791b79871e467c2', x86_64: 'dfb18c0c4dbee0bb6b0ca5cdacbb77ba1fb40f8b77e93f02f791b79871e467c2',
}) })
def self.build def self.build
system "./configure #{CREW_OPTIONS}" system "./configure #{CREW_OPTIONS}"
system "make -j#{CREW_NPROC}" system "make -j#{CREW_NPROC}"

View File

@@ -23,7 +23,7 @@ class Libevdev < Package
depends_on 'doxygen' => :build depends_on 'doxygen' => :build
depends_on 'python27' => :build depends_on 'python27' => :build
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -1,5 +1,5 @@
require 'package' require 'package'
class Libfilezilla < Package class Libfilezilla < Package
description 'libfilezilla is a small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs.' description 'libfilezilla is a small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs.'
homepage 'https://lib.filezilla-project.org/' homepage 'https://lib.filezilla-project.org/'

View File

@@ -13,7 +13,7 @@ class Libgdiplus < Package
depends_on 'graphite' depends_on 'graphite'
depends_on 'libexif' depends_on 'libexif'
depends_on 'libtiff' depends_on 'libtiff'
def self.build def self.build
system "env NOCONFIGURE=1 ./autogen.sh" system "env NOCONFIGURE=1 ./autogen.sh"
system "./configure #{CREW_OPTIONS} \ system "./configure #{CREW_OPTIONS} \

View File

@@ -23,7 +23,7 @@ class Libhandy < Package
depends_on 'vala' depends_on 'vala'
def self.prebuild def self.prebuild
system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build" system "sed -i 's,-fstack-protector-strong,-fno-stack-protector,' meson.build"
end end

View File

@@ -25,29 +25,29 @@ class Libinput < Package
depends_on 'libevdev' depends_on 'libevdev'
depends_on 'libwacom' depends_on 'libwacom'
depends_on 'libunwind' depends_on 'libunwind'
depends_on 'libcheck' depends_on 'libcheck'
depends_on 'valgrind' => :build depends_on 'valgrind' => :build
depends_on 'meson' => :build depends_on 'meson' => :build
# If debug-gui feature is required, uncomment following lines and remove "-Ddebug-gui=false" to enable it # If debug-gui feature is required, uncomment following lines and remove "-Ddebug-gui=false" to enable it
#depends_on 'graphviz' => :build #depends_on 'graphviz' => :build
#depends_on 'gtk3' => :build #depends_on 'gtk3' => :build
def self.build def self.build
system "meson \ system "meson \
--prefix=#{CREW_PREFIX} \ --prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \ --libdir=#{CREW_LIB_PREFIX} \
-Ddebug-gui=false \ -Ddebug-gui=false \
-Ddocumentation=false \ -Ddocumentation=false \
_build" _build"
system "ninja -v -C _build" system "ninja -v -C _build"
end end
def self.check def self.check
system 'ninja -C _build test' system 'ninja -C _build test'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install"
end end

View File

@@ -35,7 +35,7 @@ class Libjpeg_turbo < Package
def self.check def self.check
system "make -j#{CREW_NPROC} test" system "make -j#{CREW_NPROC} test"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end

View File

@@ -37,5 +37,5 @@ class Libnotify < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end end
end end

View File

@@ -22,7 +22,7 @@ class Libnsgif < Package
}) })
depends_on 'netsurf_buildsystem' => :build depends_on 'netsurf_buildsystem' => :build
def self.build def self.build
system "make PREFIX=#{CREW_PREFIX} COMPONENT_TYPE=lib-shared" system "make PREFIX=#{CREW_PREFIX} COMPONENT_TYPE=lib-shared"
end end

View File

@@ -17,7 +17,7 @@ class Libostree < Package
depends_on 'avahi' depends_on 'avahi'
depends_on 'gtk_doc' => :build depends_on 'gtk_doc' => :build
depends_on 'libxml2' => :build depends_on 'libxml2' => :build
def self.build def self.build
system "./autogen.sh #{CREW_OPTIONS} \ system "./autogen.sh #{CREW_OPTIONS} \
--with-curl \ --with-curl \

View File

@@ -20,9 +20,9 @@ class Libparserutils < Package
i686: 'cf81d606dddc0f9c0667d5b53f656f4e282fcf1aefd7d0e7e75a35d467faf88f', i686: 'cf81d606dddc0f9c0667d5b53f656f4e282fcf1aefd7d0e7e75a35d467faf88f',
x86_64: '3f571ae3599d8623b433faf79944f3be1598fc1aaefdfd555cde4882bcc4936c', x86_64: '3f571ae3599d8623b433faf79944f3be1598fc1aaefdfd555cde4882bcc4936c',
}) })
depends_on 'netsurf_buildsystem' => :build depends_on 'netsurf_buildsystem' => :build
def self.build def self.build
system "make PREFIX=#{CREW_PREFIX} COMPONENT_TYPE=lib-shared" system "make PREFIX=#{CREW_PREFIX} COMPONENT_TYPE=lib-shared"
end end

View File

@@ -6,7 +6,7 @@ class Librespot < Package
version '0.1.3' version '0.1.3'
compatibility 'aarch64,armv7l,x86_64' compatibility 'aarch64,armv7l,x86_64'
source_url 'https://github.com/librespot-org/librespot/archive/v0.1.3.tar.gz' source_url 'https://github.com/librespot-org/librespot/archive/v0.1.3.tar.gz'
source_sha256 '2d28a63c6dda08ecbc1245c7cfe34c9b3b29e8c5304f4aa8b65aedb899056b25' source_sha256 '2d28a63c6dda08ecbc1245c7cfe34c9b3b29e8c5304f4aa8b65aedb899056b25'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/librespot-0.1.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/librespot-0.1.3-chromeos-armv7l.tar.xz',
@@ -18,11 +18,11 @@ class Librespot < Package
armv7l: 'ecfcbfaf8f71b1a4442535a0dc97e2d3db4dd5c67c7200deb040da74db56c099', armv7l: 'ecfcbfaf8f71b1a4442535a0dc97e2d3db4dd5c67c7200deb040da74db56c099',
x86_64: '0ba9038b2e38df1d684328050885b050959ae10df0028dc390c442da647d4228', x86_64: '0ba9038b2e38df1d684328050885b050959ae10df0028dc390c442da647d4228',
}) })
depends_on 'rust' => :build depends_on 'rust' => :build
depends_on 'alsa_lib' depends_on 'alsa_lib'
depends_on 'alsa_utils' depends_on 'alsa_utils'
def self.build def self.build
system 'cargo build --release --no-default-features --features "alsa-backend"' system 'cargo build --release --no-default-features --features "alsa-backend"'
end end

View File

@@ -32,7 +32,7 @@ class Librsvg < Package
depends_on 'glib' depends_on 'glib'
depends_on 'vala' => :build depends_on 'vala' => :build
depends_on 'six' => :build depends_on 'six' => :build
def self.build def self.build
# Following rustup modification as per https://github.com/rust-lang/rustup/issues/1167#issuecomment-367061388 # Following rustup modification as per https://github.com/rust-lang/rustup/issues/1167#issuecomment-367061388
system "rustup install stable --profile minimal || (rm -frv ~/.rustup/toolchains/* && rustup install stable --profile minimal)" system "rustup install stable --profile minimal || (rm -frv ~/.rustup/toolchains/* && rustup install stable --profile minimal)"

View File

@@ -38,7 +38,7 @@ class Libsoxr < Package
end end
system "make" system "make"
end end
def self.check def self.check
system "make check" system "make check"
end end

View File

@@ -22,7 +22,7 @@ class Libssh < Package
}) })
depends_on 'libgcrypt' depends_on 'libgcrypt'
def self.build def self.build
Dir.mkdir 'build' Dir.mkdir 'build'
Dir.chdir 'build' do Dir.chdir 'build' do

View File

@@ -23,7 +23,7 @@ class Libwacom < Package
depends_on 'libgudev' depends_on 'libgudev'
depends_on 'eudev' depends_on 'eudev'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -20,7 +20,7 @@ class Libwapcaplet < Package
i686: '3b621c7937f5b69a7875d611ec6cd441c65764432af794d9b8c942b5c250c07a', i686: '3b621c7937f5b69a7875d611ec6cd441c65764432af794d9b8c942b5c250c07a',
x86_64: '44bd2c72b15c9d059b51b4dc598fd5b9044b12a10ca55b0dfc561b1d71e36073', x86_64: '44bd2c72b15c9d059b51b4dc598fd5b9044b12a10ca55b0dfc561b1d71e36073',
}) })
depends_on 'netsurf_buildsystem' => :build depends_on 'netsurf_buildsystem' => :build
def self.build def self.build

View File

@@ -32,7 +32,7 @@ class Libwnck < Package
'_build' '_build'
system 'ninja -v -C _build' system 'ninja -v -C _build'
end end
def self.install def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install" system "DESTDIR=#{CREW_DEST_DIR} ninja -C _build install"
end end

View File

@@ -20,9 +20,9 @@ class Libxau < Package
i686: '4343e16f6c9bf01c4234a194e7478b45542c58abb0affa1032c2ae9c5abe802c', i686: '4343e16f6c9bf01c4234a194e7478b45542c58abb0affa1032c2ae9c5abe802c',
x86_64: '6fe73440b9a5a242617a8a0a4e55a5c2e18fe070e6842852a89b95e23fcd1aa5', x86_64: '6fe73440b9a5a242617a8a0a4e55a5c2e18fe070e6842852a89b95e23fcd1aa5',
}) })
depends_on 'xorg_proto' depends_on 'xorg_proto'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -24,7 +24,7 @@ class Libxcomposite < Package
depends_on 'libxfixes' depends_on 'libxfixes'
depends_on 'libxext' depends_on 'libxext'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -23,7 +23,7 @@ class Libxcursor < Package
depends_on 'libxrender' depends_on 'libxrender'
depends_on 'libxfixes' depends_on 'libxfixes'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -22,7 +22,7 @@ class Libxext < Package
}) })
depends_on 'llvm' => ':build' depends_on 'llvm' => ':build'
def self.build def self.build
ENV['CFLAGS'] = "-fuse-ld=lld" ENV['CFLAGS'] = "-fuse-ld=lld"
ENV['CXXFLAGS'] = "-fuse-ld=lld" ENV['CXXFLAGS'] = "-fuse-ld=lld"

View File

@@ -22,7 +22,7 @@ class Libxfixes < Package
}) })
depends_on 'libx11' depends_on 'libx11'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -23,7 +23,7 @@ class Libxscrnsaver < Package
depends_on 'libx11' depends_on 'libx11'
depends_on 'libxext' depends_on 'libxext'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -23,7 +23,7 @@ class Libxtst < Package
depends_on 'libxi' depends_on 'libxi'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"

View File

@@ -22,7 +22,7 @@ class Linux_pam < Package
}) })
depends_on 'libdb' # libdb needs to be built with "--enable-dbm" depends_on 'libdb' # libdb needs to be built with "--enable-dbm"
def self.build def self.build
system "./configure #{CREW_OPTIONS} --enable-static --disable-nis" system "./configure #{CREW_OPTIONS} --enable-static --disable-nis"
system 'make' system 'make'

View File

@@ -323,7 +323,7 @@ clang++ -fPIC -rtlib=compiler-rt -stdlib=libc++ -cxx-isystem \${cxx_sys} -I \${
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
end end
#def self.check #def self.check
# Dir.chdir("builddir") do # Dir.chdir("builddir") do
# system "make -k -j#{CREW_NPROC} check-llvm" # system "make -k -j#{CREW_NPROC} check-llvm"

View File

@@ -35,11 +35,11 @@ class Lua < Package
end end
def self.install def self.install
system 'make', system 'make',
'linux', 'linux',
"PREFIX=#{CREW_PREFIX}", "PREFIX=#{CREW_PREFIX}",
"LIBDIR=#{CREW_LIB_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}",
"INSTALL_TOP=#{CREW_DEST_PREFIX}", "INSTALL_TOP=#{CREW_DEST_PREFIX}",
'install' 'install'
end end
end end

View File

@@ -34,5 +34,5 @@ class Mate_calc < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end end
end end

View File

@@ -20,7 +20,7 @@ class Mate_common < Package
i686: 'f7a9d18c6c0a7f10828d0bc4528dd0b67405e0388287123516b04e6d80361223', i686: 'f7a9d18c6c0a7f10828d0bc4528dd0b67405e0388287123516b04e6d80361223',
x86_64: 'd04c069aee911be73e5c80675e15a6bdfe3381432fc8bf293d6c29a592412694', x86_64: 'd04c069aee911be73e5c80675e15a6bdfe3381432fc8bf293d6c29a592412694',
}) })
depends_on 'gtk_doc' depends_on 'gtk_doc'
def self.build def self.build

View File

@@ -34,5 +34,5 @@ class Mate_desktop < Package
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end

View File

@@ -9,10 +9,10 @@ class Metasploit < Package
source_sha256 '69a12a089fcd130a40f3f973a53057a948a7f2b6df6a3a64613ee22aa3d53016' source_sha256 '69a12a089fcd130a40f3f973a53057a948a7f2b6df6a3a64613ee22aa3d53016'
binary_url ({ binary_url ({
}) })
binary_sha256 ({ binary_sha256 ({
}) })
depends_on 'ruby' depends_on 'ruby'

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