mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
ports: dosfstools
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
name=dosfstools
|
||||||
|
revision=1
|
||||||
|
from_source=dosfstools
|
||||||
|
imagedeps="build-essential"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig libtool automake autoconf"
|
||||||
|
deps="base"
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
cp -rp ${source_dir}/* .
|
||||||
|
./configure --host=x86_64-astral --prefix=${prefix}
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
make -j ${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR=${dest_dir}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
name=dosfstools
|
||||||
|
version=4.2
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz"
|
||||||
|
tarball_sha512=3cc0808edb4432428df8a67da4bb314fd1f27adc4a05754c1a492091741a7b6875ebd9f6a509cc4c5ad85643fc40395b6e0cadee548b25cc439cc9b725980156
|
||||||
|
hostdeps="libtool"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
libtoolize -f
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user