mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
misc: userspace changes for package management
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
name=zstd
|
||||
revision=1
|
||||
from_source=zstd
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils"
|
||||
deps="base"
|
||||
|
||||
configure() {
|
||||
cp -rp ${source_dir}/* .
|
||||
}
|
||||
|
||||
build() {
|
||||
make CC=x86_64-astral-gcc LD=x86_64-astral-ld -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR="${dest_dir}" PREFIX=/usr
|
||||
}
|
||||
Reference in New Issue
Block a user