mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
xz_utils: add expander rules file
Untested.
This commit is contained in:
3
app-arch/xz_utils/sources/xz_utils-expander-rules
Normal file
3
app-arch/xz_utils/sources/xz_utils-expander-rules
Normal file
@@ -0,0 +1,3 @@
|
||||
"application/x-xz" .tar.xz "tar -Jtvf %s" "tar -Jxvf %s"
|
||||
"application/x-xz" .txz "tar -Jtvf %s" "tar -Jxvf %s"
|
||||
"application/x-xz" .xz "echo %s | sed 's/.xz$//g'" "xz -df %s"
|
||||
@@ -8,7 +8,7 @@ LICENSE="
|
||||
GNU GPL v3
|
||||
"
|
||||
COPYRIGHT="2005-2011 Lasse Collin"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="!x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -65,6 +65,10 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
expanderRulesDir=$dataDir/expander/rules
|
||||
mkdir -p $expanderRulesDir
|
||||
cp "$portDir/sources/xz_utils-expander-rules" "$expanderRulesDir/xz_utils"
|
||||
}
|
||||
|
||||
TEST()
|
||||
|
||||
Reference in New Issue
Block a user