diff options
author | davidovski <david@davidovski.xyz> | 2022-03-01 21:25:54 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-01 21:25:54 +0000 |
commit | e8213fac46bfcb8068a883cb88b2bb1587f190f9 (patch) | |
tree | 8ec5946d18961404efb12700267e10cffffa6db7 /repo/apps | |
parent | 79c82d8fc0a4f6618429a0373bb832afd105543e (diff) |
made packages work with musl
Diffstat (limited to 'repo/apps')
-rw-r--r-- | repo/apps/lynx.xibuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/apps/lynx.xibuild b/repo/apps/lynx.xibuild new file mode 100644 index 0000000..d5a0dab --- /dev/null +++ b/repo/apps/lynx.xibuild @@ -0,0 +1,32 @@ +#!/bin/sh + +MAKEDEPS="make " +DEPS="libidn libressl" + +PKG_VER=2.8.9rel.1 + +SOURCE=https://invisible-mirror.net/archives/lynx/tarballs/lynx$PKG_VER.tar.bz2 +ADDITIONAL=" + https://www.linuxfromscratch.org/patches/blfs/svn/lynx-$PKG_VER-security_fix-1.patch + " + +DESC="A text only browser for the WWW" + +build () { + ./configure --prefix=/usr \ + --sysconfdir=/etc/lynx \ + --datadir=/usr/share/doc/lynx-$PKG_VER \ + --with-zlib \ + --with-bzlib \ + --with-ssl \ + --with-screen=ncursesw \ + --enable-locale-charset && + make + +} + +package () { + make DESTDIR=$PKG_DEST install-full + chgrp -v -R root $PKG_DEST/usr/share/doc/lynx-$PKG_VER/lynx_doc + +} |