r1788 - profiles/BLFS/trunk/chapter39

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


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

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



Modified: profiles/BLFS/trunk/chapter39/avifile.xml
===================================================================
--- profiles/BLFS/trunk/chapter39/avifile.xml	2005-02-20 20:45:32 UTC (rev 1787)
+++ profiles/BLFS/trunk/chapter39/avifile.xml	2005-02-20 20:45:49 UTC (rev 1788)
@@ -63,8 +63,14 @@
       <stageinfo>
         <base>&build_dir;/&avifile-directory;</base>
       </stageinfo>
-      <execute command="install -d /usr/lib/avifile-&avifile-base-version;/win32" />
-      <execute command="tar -xzvf &packages_dir;/&avifile-binaries-package; -C /usr/lib/avifile-&avifile-base-version;" />
+      <mkdir>
+        <option>parents</option>
+	<name>/usr/lib/avifile-&avifile-base-version;/win32</name>
+      </mkdir>
+      <unpack>
+        <archive>&packages_dir;/&avifile-binaries-package;</archive>
+        <destination>/usr/lib/avifile-&avifile-base-version;</destination>
+      </unpack>
       <configure>
         <param>--prefix=/usr</param>
         <param>--with-win32-path=/usr/lib/avifile-&avifile-base-version;/win32</param>




More information about the alfs-log mailing list