[Lunar-commits] <moonbase> ffmpeg: Fixed by moving the required source code re-fetch into PRE_BUILD

Terry Chan tchan at lunar-linux.org
Fri Apr 25 15:35:52 CEST 2008


commit cb0d9f08267a1c89e740a3e4ffcab1cc12183149
Author: Terry Chan <tchan at lunar-linux.org>
Date:   Fri Apr 25 08:35:52 2008 -0500

    ffmpeg: Fixed by moving the required source code re-fetch into PRE_BUILD
    and then dropping the POST_INSTALL.
---
 video/ffmpeg/POST_INSTALL |    3 ---
 video/ffmpeg/PRE_BUILD    |    8 ++++++++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/video/ffmpeg/POST_INSTALL b/video/ffmpeg/POST_INSTALL
deleted file mode 100644
index a1af221..0000000
--- a/video/ffmpeg/POST_INSTALL
+++ /dev/null
@@ -1,3 +0,0 @@
-# Remove the source tarball because it carries no version tag
-
-rm -f ${SOURCE_CACHE}/${SOURCE}
diff --git a/video/ffmpeg/PRE_BUILD b/video/ffmpeg/PRE_BUILD
new file mode 100644
index 0000000..8bb97ca
--- /dev/null
+++ b/video/ffmpeg/PRE_BUILD
@@ -0,0 +1,8 @@
+# Remove the source tarball because it carries no version tag
+if [ -e ${SOURCE_CACHE}/${SOURCE} ] ;  then
+  rm -f ${SOURCE_CACHE}/${SOURCE}
+  download_module ffmpeg
+fi &&
+
+default_pre_build
+


More information about the Lunar-commits mailing list