mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: file
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
name=file
|
||||
revision=1
|
||||
from_source=file
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils"
|
||||
deps="mlibc"
|
||||
|
||||
build() {
|
||||
cp -rp ${source_dir}/* .
|
||||
./configure --host=x86_64-astral --prefix=${prefix}
|
||||
make -j ${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
name=file
|
||||
version=45
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/file/file/archive/refs/tags/FILE5_${version}.tar.gz"
|
||||
tarball_sha512="fdd4c5d13d5ea1d25686c76d8ebc3252c54040c4871e3f0f623c4548b3841795d4e36050292a9453eedf0fbf932573890e9d6ac9fa63ccf577215598ae84b9ea"
|
||||
hostdeps="autoconf automake pkgconfig libtool"
|
||||
regenerate() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
Reference in New Issue
Block a user