mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
Merged in tweakdeveloper/haikuports/unlzx (pull request #394)
Added recipe for unlzx
This commit is contained in:
1
app-arch/unlzx/additional-files/unlzx-expander-rules
Normal file
1
app-arch/unlzx/additional-files/unlzx-expander-rules
Normal file
@@ -0,0 +1 @@
|
|||||||
|
"application/x-lzx" .lzx "unlzx -v %s" "unlzx %s"
|
||||||
41
app-arch/unlzx/unlzx-1.1.recipe
Normal file
41
app-arch/unlzx/unlzx-1.1.recipe
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
SUMMARY="Decompresses LZX archives on multiple platforms"
|
||||||
|
DESCRIPTION="LZX is the name of an LZ77 family compression algorithm invented \
|
||||||
|
by Johnathon Forbes and Tomi Poutanen. unlzx is a program designed to extract \
|
||||||
|
these archives."
|
||||||
|
HOMEPAGE="http://aminet.net/package/misc/unix/unlzx.c.gz"
|
||||||
|
SRC_URI="git+https://github.com/tweakdeveloper/unlzx.git#36a85e7"
|
||||||
|
ADDITIONAL_FILES="unlzx-expander-rules"
|
||||||
|
REVISION="3"
|
||||||
|
LICENSE="Public Domain"
|
||||||
|
COPYRIGHT="2001 Erik Meusel"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
|
||||||
|
REQUIRES="
|
||||||
|
haiku
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku_devel
|
||||||
|
cmd:gcc
|
||||||
|
cmd:strip
|
||||||
|
"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
unlzx = $portVersion
|
||||||
|
cmd:unlzx
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
gcc unlzx.c -o unlzx
|
||||||
|
strip unlzx
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
expanderRulesDir=$dataDir/expander/rules
|
||||||
|
mkdir -p $binDir $expanderRulesDir
|
||||||
|
cp unlzx $binDir
|
||||||
|
cp $portDir/additional-files/unlzx-expander-rules $expanderRulesDir
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user