[Lunar-commits] <moonbase> huludesktop: Mainly a refinement of the BUILDs.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Nov 26 19:08:29 CET 2009


commit 239d38db9c11e3e76aff574e8165d86ddbb3ec59
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Nov 26 13:08:29 2009 -0500

    huludesktop: Mainly a refinement of the BUILDs.
---
 video/huludesktop/BUILD          |   10 +++++++---
 video/huludesktop/BUILD.x86_64   |   10 ++++++----
 video/huludesktop/DETAILS        |    2 +-
 video/huludesktop/DETAILS.x86_64 |    2 +-
 video/huludesktop/PRE_BUILD      |    4 ++++
 5 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/video/huludesktop/BUILD b/video/huludesktop/BUILD
index 6cabc54..1f94568 100644
--- a/video/huludesktop/BUILD
+++ b/video/huludesktop/BUILD
@@ -1,8 +1,12 @@
 (
 
-  rpm2cpio $SOURCE_CACHE/$MODULE-i386.rpm > $MODULE.cpio &&
-  cd / &&
+(
+
+  rpm2cpio $SOURCE > $MODULE.cpio &&
+  cpio -id < $SOURCE_DIRECTORY/$MODULE.cpio &&
   prepare_install &&
-  cpio -idm < $SOURCE_DIRECTORY/$MODULE.cpio
+
+  cp -Rf etc/* /etc/ &&
+  cp -Rf usr/* /usr/
 
 ) > $C_FIFO 2>&1
diff --git a/video/huludesktop/BUILD.x86_64 b/video/huludesktop/BUILD.x86_64
index 36b6d4a..3f5df94 100644
--- a/video/huludesktop/BUILD.x86_64
+++ b/video/huludesktop/BUILD.x86_64
@@ -1,8 +1,10 @@
 (
 
-  rpm2cpio $SOURCE_CACHE/$MODULE-x86_64.rpm > $MODULE.cpio &&
-  cd / &&
+  rpm2cpio $SOURCE > $MODULE.cpio &&
+  cpio -id < $SOURCE_DIRECTORY/$MODULE.cpio &&
   prepare_install &&
-  cpio -idm < $SOURCE_DIRECTORY/$MODULE.cpio
-  
+
+  cp -Rf etc/* /etc/ &&
+  cp -Rf usr/* /usr/
+
 ) > $C_FIFO 2>&1
diff --git a/video/huludesktop/DETAILS b/video/huludesktop/DETAILS
index b0605b1..bc0a196 100644
--- a/video/huludesktop/DETAILS
+++ b/video/huludesktop/DETAILS
@@ -6,7 +6,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
       SOURCE_VFY=sha1:075f86027241f8598cf87705b669e318c6590229
         WEB_SITE=http://www.hulu.com/labs/hulu-desktop-linux
          ENTERED=20091122
-         UPDATED=20091122
+         UPDATED=20091126
          LICENSE="proprietary"
            SHORT="flash based TV program viewer"
 
diff --git a/video/huludesktop/DETAILS.x86_64 b/video/huludesktop/DETAILS.x86_64
index 830a4b2..e9bbc73 100644
--- a/video/huludesktop/DETAILS.x86_64
+++ b/video/huludesktop/DETAILS.x86_64
@@ -6,7 +6,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
       SOURCE_VFY=sha1:12e99b796b8435219a61ea4c75af1b402f74ef3c
         WEB_SITE=http://www.hulu.com/labs/hulu-desktop-linux
          ENTERED=20091122
-         UPDATED=20091122
+         UPDATED=20091126
          LICENSE="proprietary"
            SHORT="flash based TV program viewer"
 
diff --git a/video/huludesktop/PRE_BUILD b/video/huludesktop/PRE_BUILD
new file mode 100644
index 0000000..5a87abb
--- /dev/null
+++ b/video/huludesktop/PRE_BUILD
@@ -0,0 +1,4 @@
+mk_source_dir $SORUCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+cp $SOURCE_CACHE/$SOURCE .
+


More information about the Lunar-commits mailing list