mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Built libffi, libyaml, liquid, and Ruby
This commit is contained in:
13
sources/libffi/libffi.spec
Normal file
13
sources/libffi/libffi.spec
Normal file
@@ -0,0 +1,13 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="f3a3082a23b37c293a4fcd1053147b371f2ff91fa7ea1b2a52e335676bac82dc"
|
||||
SRC_NAME="libffi"
|
||||
SRC_URL="https://github.com/libffi/libffi/releases/download/v3.5.2/libffi-3.5.2.tar.gz"
|
||||
SRC_VERSION="3.5.2"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd libffi-$SRC_VERSION/
|
||||
./configure $TT_AUTOCONF_COMMON --disable-static
|
||||
make -O -j $TT_PROCS
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
13
sources/libyaml/libyaml.spec
Normal file
13
sources/libyaml/libyaml.spec
Normal file
@@ -0,0 +1,13 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4"
|
||||
SRC_NAME="libyaml"
|
||||
SRC_URL="https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz"
|
||||
SRC_VERSION="0.2.5"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd yaml-$SRC_VERSION/
|
||||
./configure $TT_AUTOCONF_COMMON --disable-static
|
||||
make -O -j $TT_PROCS
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
19
sources/liquid/liquid.spec
Normal file
19
sources/liquid/liquid.spec
Normal file
@@ -0,0 +1,19 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="f3314240c846140d7be742e405882302f01dbecc51b8dd44d97cdad62d978f03"
|
||||
SRC_NAME="liquid"
|
||||
SRC_URL="https://github.com/Shopify/liquid/archive/refs/tags/v5.11.0.tar.gz"
|
||||
SRC_VERSION="5.11.0"
|
||||
|
||||
SRC_FILENAME="$SRC_NAME-$SRC_VERSION.tar.gz"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd liquid-$SRC_VERSION/
|
||||
gem build liquid.gemspec
|
||||
gem install \
|
||||
--install-dir $TT_INSTALLDIR/lib/ruby/gems/4.0.0 \
|
||||
--local \
|
||||
--ignore-dependencies \
|
||||
--verbose \
|
||||
./liquid-$SRC_VERSION.gem
|
||||
}
|
||||
16
sources/ruby/ruby.spec
Normal file
16
sources/ruby/ruby.spec
Normal file
@@ -0,0 +1,16 @@
|
||||
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
|
||||
SRC_HASH="3924be2d05db30f4e35f859bf028be85f4b7dd01714142fd823e4af5de2faf9d"
|
||||
SRC_NAME="ruby"
|
||||
SRC_URL="https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.1.tar.gz"
|
||||
SRC_VERSION="4.0.1"
|
||||
|
||||
build() {
|
||||
tar xf ../$SRC_FILENAME
|
||||
cd ruby-$SRC_VERSION/
|
||||
# NOTE: Yes, Ruby has a configuration script already, but it lacks the
|
||||
# --enable-year2038 option, so we rebuild it. ~ahill
|
||||
./autogen.sh
|
||||
./configure $TT_AUTOCONF_COMMON --enable-year2038 --without-gcc
|
||||
make -O -j $TT_PROCS
|
||||
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
|
||||
}
|
||||
Reference in New Issue
Block a user