1SUMMARY="Decompresses LZX archives on multiple platforms" 2DESCRIPTION="LZX is the name of an LZ77 family compression algorithm invented \ 3by Johnathon Forbes and Tomi Poutanen. unlzx is a program designed to extract \ 4these archives." 5HOMEPAGE="http://aminet.net/package/misc/unix/unlzx.c.gz" 6COPYRIGHT="2001 Erik Meusel" 7LICENSE="Public Domain" 8REVISION="4" 9srcGitRev="36a85e75eb8ef9a9ca2191cc275ff7d20def16ec" 10SOURCE_URI="https://github.com/tweakdeveloper/unlzx/archive/$srcGitRev.tar.gz" 11CHECKSUM_SHA256="472f38164768989657cd57ef759624de5331ef7033f8723023ed67f520648eb5" 12SOURCE_DIR="unlzx-$srcGitRev" 13ADDITIONAL_FILES="unlzx-expander-rules" 14 15ARCHITECTURES="x86_gcc2 x86" 16 17PROVIDES=" 18 unlzx = $portVersion 19 cmd:unlzx 20 " 21REQUIRES=" 22 haiku 23 " 24 25BUILD_REQUIRES=" 26 haiku_devel 27 cmd:gcc 28 cmd:strip 29 " 30 31BUILD() 32{ 33 gcc unlzx.c -o unlzx 34 strip unlzx 35} 36 37INSTALL() 38{ 39 expanderRulesDir=$dataDir/expander/rules 40 mkdir -p $binDir $expanderRulesDir 41 cp unlzx $binDir 42 cp $portDir/additional-files/unlzx-expander-rules $expanderRulesDir 43} 44