master hovercats/oakiss / repo / lame / build
 1#!/bin/sh -e
 2
 3# Disable HTML documentation.
 4sed 's/html man/man/' doc/Makefile.in > _
 5mv -f _ doc/Makefile.in
 6
 7./configure \
 8    ac_cv_lib_ncurses_initscr=no \
 9    ac_cv_lib_curses_initscr=no \
10    --prefix=/usr \
11    --enable-shared \
12    --disable-gtktest
13
14make
15make DESTDIR="$1" install
16
17# Compress manpages
18find "$1/usr/share/man" -type f -exec gzip -n -9 {} +