summaryrefslogtreecommitdiffstats
path: root/examples/packages/example_tmux/pkg.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/packages/example_tmux/pkg.toml')
-rw-r--r--examples/packages/example_tmux/pkg.toml60
1 files changed, 0 insertions, 60 deletions
diff --git a/examples/packages/example_tmux/pkg.toml b/examples/packages/example_tmux/pkg.toml
deleted file mode 100644
index 747e9f1..0000000
--- a/examples/packages/example_tmux/pkg.toml
+++ /dev/null
@@ -1,60 +0,0 @@
-name = "tmux"
-version = "3.1c"
-version_is_semver = false
-
-# no patches by default
-patches = []
-
-[[sources]]
-url = "https://github.com/tmux/tmux/archive/3.1c.tar.gz"
-hash.type = "sha1"
-hash.hash = "5e8bcaa3c758f84f01935a914e2bbf01309462ae"
-
-
-[dependencies]
-build = []
-runtime = []
-
-# Root description of phases
-# can be overridden as well
-[phases]
-
-unpack.script = '''
- mkdir /build
- tar -C /build -xzf /inputs/*source
-'''
-
-# We use a depinst phase here because we don't want to add a Dockerfile to the
-# repo where we prepare a build container.
-# This is, of course, not be the way it would be done in a real-world scenario!
-depinst.script = '''
- apt update
- apt install -y pkg-config gcc bison make autotools-dev autoconf libevent-dev libncurses5-dev
-'''
-
-configure.script = '''
- cd /build/tmux-3.1c/
- echo "SOURCES: "
- ls
- echo "-----"
-
- ./autogen.sh || exit 1
- ./configure || exit 1
-'''
-
-build.script = '''
- cd /build/tmux-3.1c
- make || exit 1
-'''
-
-install.script = '''
- cd /build/tmux-3.1c
- make install || exit 1
-'''
-
-package.script = '''
- # I am simple
- mkdir /outputs/
- tar czf /outputs/tmux-3.1c.tgz /usr/local/bin/tmux
-'''
-