diff --git a/recipes/grep b/recipes/grep new file mode 100644 index 00000000..5d7d230e --- /dev/null +++ b/recipes/grep @@ -0,0 +1,19 @@ +name=grep +revision=1 +from_source=grep +imagedeps="base-devel" +hostdeps="xgcc xbinutils" +deps="mlibc" + +configure() { + cp -rp ${source_dir}/* . + ./configure --host=x86_64-astral --prefix=${prefix} +} + +build() { + make -j ${parallelism} +} + +install() { + make install DESTDIR=${dest_dir} +} diff --git a/recipes/sed b/recipes/sed new file mode 100644 index 00000000..117f2aea --- /dev/null +++ b/recipes/sed @@ -0,0 +1,19 @@ +name=sed +revision=1 +from_source=sed +imagedeps="base-devel" +hostdeps="xgcc xbinutils" +deps="mlibc" + +configure() { + cp -rp ${source_dir}/* . + ./configure --host=x86_64-astral --prefix=${prefix} +} + +build() { + make -j ${parallelism} +} + +install() { + make install DESTDIR=${dest_dir} +} diff --git a/source-recipes/grep b/source-recipes/grep new file mode 100644 index 00000000..c7ba996c --- /dev/null +++ b/source-recipes/grep @@ -0,0 +1,9 @@ +name=grep +version=3.11 +source_method=tarball +tarball_url="https://ftp.gnu.org/gnu/grep/grep-${version}.tar.xz" +tarball_sha512="f254a1905a08c8173e12fbdd4fd8baed9a200217fba9d7641f0d78e4e002c1f2a621152d67027d9b25f0bb2430898f5233dc70909d8464fd13d7dd9298e65c42" +hostdeps="autoconf automake pkgconfig libtool" +regenerate() { + autoreconf -fvi +} diff --git a/source-recipes/sed b/source-recipes/sed new file mode 100644 index 00000000..86b8ff74 --- /dev/null +++ b/source-recipes/sed @@ -0,0 +1,9 @@ +name=sed +version=4.9 +source_method=tarball +tarball_url="https://ftp.gnu.org/gnu/sed/sed-${version}.tar.xz" +tarball_sha512="36157a4b4a2430cf421b7bd07f1675d680d9f1616be96cf6ad6ee74a9ec0fe695f8d0b1e1f0b008bbb33cc7fcde5e1c456359bbbc63f8aebdd4fedc3982cf6dc" +hostdeps="autoconf automake pkgconfig libtool" +regenerate() { + autoreconf -fvi +}