#!/bin/bash

MAKEDEPS=(make )
DEPS=(acl sh)

PKG_VER=0.21
SOURCE=https://ftp.gnu.org/pub/gnu/gettext/gettext-$PKG_VER.tar.gz
DESC="GNU internationalization library"

build () {
    ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/gettext-$PKG_VER
    make
}

check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install 
    chmod -v 0755 $PKG_DEST/usr/lib/preloadable_libintl.so
}