diff --git a/flatpost.recipe.py b/flatpost.recipe.py index 0398e0a..a399faa 100755 --- a/flatpost.recipe.py +++ b/flatpost.recipe.py @@ -6,13 +6,15 @@ fembuilddir = f"/tmp/fempkg/build/{pkgname}" outputdir = "/home/gabry/lfs-repo/binpkg" manifestdir = "/home/gabry/lfs-repo/manifests" destdir = f"{fembuilddir}/DESTDIR" -deps = [] #idk +deps = ["git", "make", "gcc"] #idk build = [ # Extract - f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgver}.tar.gz", + f"mkdir /tmp/fempkg/build {fembuilddir} || true && cd {fembuilddir} && tar -xvf /var/lib/fempkg/pkgs/{pkgver}.tar.gz && wget " + f"https://patch-diff.githubusercontent.com/raw/GloriousEggroll/flatpost/pull/34.patch", # download search patch # 64-bit build + f"cd {builddir} && git apply ../34.patch", f"cd {builddir} && make -j$(nproc)", f"cd {builddir} && make DESTDIR={destdir} install",