distro

small linux distro experiment
Log | Files | Refs

commit ab4824424149ff024b3657727b548ea072ad010e
parent 8bb65de5c725ee648ecbdaf54180ad3c7bbbcaa3
Author: z3bra <contactatz3bradotorg>
Date:   Tue, 30 Oct 2018 08:26:04 +0100

libutf: new port

Diffstat:
pkg/libutf/mkfile | 8++++++++
pkg/libutf/patches/000-prefix-share.diff | 19+++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/pkg/libutf/mkfile b/pkg/libutf/mkfile @@ -0,0 +1,8 @@ +pkg = libutf +ver = 2.0 +url = http://swtch.com/plan9port/unix/$pkg.tgz + +<../build.mk + +CFLAGS = ${CFLAGS} -c -I. +MAKEFLAGS = PREFIX=`{pwd}/.rootfs diff --git a/pkg/libutf/patches/000-prefix-share.diff b/pkg/libutf/patches/000-prefix-share.diff @@ -0,0 +1,19 @@ +diff -ruN a/Makefile b/Makefile +--- a/Makefile 2011-01-02 21:52:47.000000000 +0100 ++++ b/Makefile 2016-01-24 00:57:15.836684225 +0100 +@@ -55,11 +55,11 @@ + all: $(LIB) + + install: $(LIB) +- mkdir -p $(PREFIX)/share/man/man3 $(PREFIX)/man/man7 +- install -c -m 0644 isalpharune.3 $(PREFIX)/share/man/man3/isalpharune.3 ++ mkdir -p $(PREFIX)/man/man3 $(PREFIX)/man/man7 ++ install -c -m 0644 isalpharune.3 $(PREFIX)/man/man3/isalpharune.3 + install -c -m 0644 utf.7 $(PREFIX)/man/man7/utf.7 +- install -c -m 0644 rune.3 $(PREFIX)/share/man/man3/rune.3 +- install -c -m 0644 runestrcat.3 $(PREFIX)/share/man/man3/runestrcat.3 ++ install -c -m 0644 rune.3 $(PREFIX)/man/man3/rune.3 ++ install -c -m 0644 runestrcat.3 $(PREFIX)/man/man3/runestrcat.3 + mkdir -p $(PREFIX)/include + install -c -m 0644 utf.h $(PREFIX)/include/utf.h + mkdir -p $(PREFIX)/lib