commit b45e00ff5fa38f5f958d803c67d652d98955f0b7 parent 269b5f62bf41385aed72fb69fdb828f98cc9e1e6 Author: sin <sin@2f30.org> Date: Mon, 16 Sep 2013 14:42:28 +0100 Add man Diffstat:
A | pkgs/man | | | 23 | +++++++++++++++++++++++ |
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/pkgs/man b/pkgs/man @@ -0,0 +1,23 @@ +url=$mirror/man.tar.gz + +fetch() { + wget -c $url -O src/man.tar.gz +} + +unpack() { + pushd src + [ -d man ] || tar xzf man.tar.gz + popd +} + +build() { + pushd src/man + musl-gcc -std=gnu99 -o man man.c -static + popd +} + +install() { + pushd src/man + cp man $root/bin + popd +}