xz_utils: add expander rules file

Untested.
This commit is contained in:
Ingo Weinhold
2013-06-30 11:47:31 +02:00
parent 1fb79e7091
commit 37ddc69743
2 changed files with 8 additions and 1 deletions

View 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"

View File

@@ -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()