lout, fix build (#7161)

This commit is contained in:
Schrijvers Luc
2022-09-05 16:58:41 +02:00
committed by GitHub
parent ebf7c2d14d
commit 4371b0d2c8

View File

@@ -8,7 +8,7 @@ Lout is inherently multilingual. Adding new languages is easy."
HOMEPAGE="https://github.com/william8000/lout"
COPYRIGHT="1991-2010 Jeffrey H. Kingston"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/archive/refs/tags/3.42.1.tar.gz"
CHECKSUM_SHA256="b0b2f66a0f959bc80835966c69ae4d4eef2cb0def2b03e634bf1c7e55b1fe6dd"
@@ -36,6 +36,8 @@ BUILD_PREREQUIRES="
BUILD()
{
sed -i "s/USELOC\t= 1/USELOC\t= 0/" makefile
make PDF_COMPRESSION=1 ZLIB=-lz \
PREFIX=$prefix \
LIBDIR=$dataDir/lout-$portVersion \
@@ -51,4 +53,7 @@ INSTALL()
LOUTDOCDIR=$docDir \
MANDIR=$manDir/man1 \
allinstall
# cleanup empty directory
rmdir $dataDir/lout-$portVersion/lib/locale
}