mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
27 lines
521 B
Plaintext
27 lines
521 B
Plaintext
name=oss
|
|
revision=2
|
|
from_source=oss
|
|
imagedeps="build-essential"
|
|
hostdeps="xgcc xbinutils"
|
|
deps="base"
|
|
|
|
configure() {
|
|
ASTRAL_CC=x86_64-astral-gcc \
|
|
ASTRAL_HOSTCC=cc \
|
|
ASTRAL_CPLUSPLUS=x86_64-astral-g++ \
|
|
ASTRAL_CFLAGS="${CFLAGS}" \
|
|
ASTRAL_LDFLAGS="${LDFLAGS}" \
|
|
ASTRAL_ENDIAN=LITTLE \
|
|
ASTRAL_OS=Astral \
|
|
ASTRAL_ARCH=x86_64 \
|
|
${source_dir}/configure --enable-libsalsa=NO --only-drv= --target=astral-x86_64
|
|
}
|
|
|
|
build() {
|
|
CC=x86_64-astral-gcc make -j${parallelism}
|
|
}
|
|
|
|
package() {
|
|
make copy DESTDIR="${dest_dir}"
|
|
}
|