From a44a03b05cba3e9093b226c6deeb7ab9ff031fa9 Mon Sep 17 00:00:00 2001 From: sin Date: Wed, 19 Feb 2014 16:45:05 +0000 Subject: [PATCH] Add jupp --- pkgs/jupp | 25 +++++++++++++++++++++++++ stage0 | 3 ++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pkgs/jupp diff --git a/pkgs/jupp b/pkgs/jupp new file mode 100644 index 0000000..a3b2f66 --- /dev/null +++ b/pkgs/jupp @@ -0,0 +1,25 @@ +url=$mirror/joe-3.1jupp26.tgz + +fetch() { + wget -c $url -O src/joe-3.1jupp26.tgz +} + +unpack() { + cd src + [ -d jupp ] || tar xzf joe-3.1jupp26.tgz + cd - +} + +build() { + cd src/jupp + CC=x86_64-linux-musl-gcc sh configure --prefix="$root" CFLAGS="-I$libcroot/include" \ + LDFLAGS="-L$libcroot/lib -static" || return 1 + make || return 1 + cd - +} + +install() { + cd src/jupp + make install || return 1 + cd - +} diff --git a/stage0 b/stage0 index 815733f..1999dd1 100755 --- a/stage0 +++ b/stage0 @@ -34,6 +34,7 @@ packages="crossmusl xsetroot terminus dwm - mpg123" + mpg123 + jupp" ./pkgbuild $packages