mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: patch
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
name=patch
|
||||
revision=1
|
||||
from_source=patch
|
||||
imagedeps="build-essential"
|
||||
hostdeps="xgcc xbinutils"
|
||||
deps="base"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR="${dest_dir}"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=patch
|
||||
version=2.8
|
||||
source_method=tarball
|
||||
tarball_url="https://ftpmirror.gnu.org/gnu/patch/patch-${version}.tar.xz"
|
||||
tarball_sha512=d689d696660a662753e8660792733c3be0a94c76abfe7a28b0f9f70300c3a42d6437d081553a59bfde6e1b0d5ee13ed89be48d0b00b6da2cadbfc14a15ada603
|
||||
hostdeps="autoconf automake libtool pkgconfig"
|
||||
|
||||
prepare() {
|
||||
autoreconf -vfi
|
||||
}
|
||||
Reference in New Issue
Block a user