mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
ports: links openssl pcre2 wget
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name=links
|
||||
revision=1
|
||||
from_source=links
|
||||
imagedeps="meson ninja base-devel libpng"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="mlibc zlib openssl bzip2 libpng libxext freetype fontconfig"
|
||||
|
||||
# TODO libjpeg
|
||||
|
||||
build() {
|
||||
CC=x86_64-astral-gcc ${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-graphics --without-directfb --without-librsvg --with-bzip2 --with-X --x-includes=${sysroot_dir}/usr/include --x-libraries=${sysroot_dir}/usr/lib --with-zlib --with-openssl --without-libtiff --without-openmp --without-lzma --with-freetype --without-ipv6
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR=${dest_dir} install
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
name=openssl
|
||||
revision=1
|
||||
from_source=openssl
|
||||
imagedeps="gcc"
|
||||
hostdeps="xgcc xbinutils"
|
||||
deps="mlibc zlib"
|
||||
|
||||
build() {
|
||||
cp -rpv ${source_dir}/* .
|
||||
CC=x86_64-astral-gcc CXX=x86_64-astral-gcc ./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib "x86_64-astral" shared zlib-dynamic no-afalgeng
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install MANSUFFIX=ssl DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
name=pcre2
|
||||
revision=1
|
||||
from_source=pcre2
|
||||
imagedeps="gcc"
|
||||
hostdeps="xgcc xbinutils"
|
||||
deps="mlibc zlib bzip2"
|
||||
|
||||
build() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --docdir=/usr/share/doc/pcre2-10.42 --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-libz --enable-pcre2grep-libbz2 --disable-static
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
name=wget
|
||||
revision=1
|
||||
from_source=wget
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="mlibc zlib pcre2 openssl"
|
||||
|
||||
build() {
|
||||
cp -rpv ${source_dir}/* .
|
||||
./configure --host=x86_64-astral --prefix=${prefix} --without-libpsl --with-ssl=openssl
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
Reference in New Issue
Block a user