master hovercats/oakiss / repo / gperf / build
 1#!/bin/sh -e
 2
 3export LDFLAGS="$LDFLAGS -static-pie"
 4export CFLAGS="$CFLAGS -fPIE"
 5
 6./configure \
 7    --prefix=/usr
 8
 9make
10make DESTDIR="$1" install
11
12rm -rf \
13	"$1/usr/share/doc" \
14	"$1/usr/share/info"
15
16# Compress manpages
17find "$1/usr/share/man" -type f -exec gzip -n -9 {} +