r1787 - profiles/BLFS/trunk/chapter39

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Sun Feb 20 12:45:34 PST 2005


Author: kpfleming
Date: 2005-02-20 13:45:32 -0700 (Sun, 20 Feb 2005)
New Revision: 1787

Modified:
   profiles/BLFS/trunk/chapter39/mplayer.xml
Log:
use unpack elements instead of direct tar commands



Modified: profiles/BLFS/trunk/chapter39/mplayer.xml
===================================================================
--- profiles/BLFS/trunk/chapter39/mplayer.xml	2005-02-20 19:54:43 UTC (rev 1786)
+++ profiles/BLFS/trunk/chapter39/mplayer.xml	2005-02-20 20:45:32 UTC (rev 1787)
@@ -168,7 +168,10 @@
       <mkdir>
         <name>/usr/lib/mplayer/codecs</name>
       </mkdir>
-      <execute command="tar xjvf &packages_dir;/&mplayer-codecs-package; -C /usr/lib/mplayer/codecs" />
+      <unpack>
+        <archive>&packages_dir;/&mplayer-codecs-package;</archive>
+        <destination>/usr/lib/mplayer/codecs</destination>
+      </unpack>
       <ownership user="root" group="root">
         <option>recursive</option>
         <name>/usr/lib/mplayer/codecs</name>
@@ -176,7 +179,10 @@
       <mkdir>
         <name>/usr/lib/mplayer/Skin</name>
       </mkdir>
-      <execute command="tar xjvf &packages_dir;/&mplayer-skin-package; -C /usr/share/mplayer/Skin" />
+      <unpack>
+        <archive>&packages_dir;/&mplayer-skin-package;</archive>
+        <destination>/usr/lib/mplayer/Skin</destination>
+      </unpack>
       <ownership user="root" group="root">
         <option>recursive</option>
         <name>/usr/share/mplayer/Skin/Blue</name>
@@ -221,7 +227,10 @@
         <source>etc/codecs.conf</source>
         <destination>/etc/mplayer</destination>
       </copy>
-      <execute command="tar xjvf &packages_dir;/&mplayer-font-package; -C /usr/share/mplayer/font" />
+      <unpack>
+        <archive>&packages_dir;/&mplayer-font-package;</archive>
+        <destination>/usr/share/mplayer/font</destination>
+      </unpack>
       <ownership user="root" group="root">
         <option>recursive</option>
         <name>/usr/share/mplayer/font</name>




More information about the alfs-log mailing list