First Commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- hello.recipe — minimal example for zeta-makepkg.
|
||||
--
|
||||
-- This builds a simple C program using the Make build system.
|
||||
-- Place a hello-1.0.tar.gz alongside the recipe or point `url` to
|
||||
-- a remote location.
|
||||
|
||||
return {
|
||||
name = "hello",
|
||||
version = "1.0",
|
||||
summary = "A tiny demonstration program for Zeta",
|
||||
url = "hello-1.0.tar.gz",
|
||||
sha256 = nil,
|
||||
deps = {},
|
||||
build_system = "make",
|
||||
test = "test -f ${DESTDIR}/usr/bin/hello",
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
-- make.recipe — builds GNU Make itself.
|
||||
--
|
||||
-- GNU Make uses the autotools build system. The --without-guile flag
|
||||
-- avoids pulling in the Guile dependency for a leaner build.
|
||||
|
||||
return {
|
||||
name = "make",
|
||||
version = "4.4.1",
|
||||
summary = "GNU Make — build automation tool",
|
||||
url = "https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz",
|
||||
sha256 = nil,
|
||||
deps = {},
|
||||
build_system = "autotools",
|
||||
configure_args = { "--without-guile" },
|
||||
test = "${DESTDIR}/usr/bin/make --version",
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
-- meson-example.recipe — meson build system example.
|
||||
--
|
||||
-- Demonstrates: meson, configure_args, dependencies, source sha256.
|
||||
|
||||
return {
|
||||
name = "my-lib",
|
||||
version = "2.0.0",
|
||||
summary = "An example library built with Meson",
|
||||
url = "https://example.com/my-lib-2.0.0.tar.gz",
|
||||
sha256 = nil,
|
||||
deps = { "libfoo>=1.0", "libbar" },
|
||||
build_system = "meson",
|
||||
configure_args = { "-Ddocs=false", "-Dtests=false" },
|
||||
test = "test -f ${DESTDIR}/usr/lib/libmy-lib.so",
|
||||
files = { "usr/lib/libmy-lib.so", "usr/include/my-lib.h" },
|
||||
}
|
||||
Reference in New Issue
Block a user