fixed spacing
authorSeemant Kulleen <seemant@gentoo.org>
Tue, 22 Oct 2002 07:42:29 +0000 (07:42 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Tue, 22 Oct 2002 07:42:29 +0000 (07:42 +0000)
net-www/gplflash/gplflash-0.4.10-r1.ebuild
net-www/gplflash/gplflash-0.4.10.ebuild

index 5692f316a15ceb5c3031c1e5bd01c8b0766e6629..e805dfd54815d961bbb824f92f1e9856357fa950 100644 (file)
@@ -1,18 +1,18 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Id: gplflash-0.4.10-r1.ebuild,v 1.8 2002/10/04 06:19:30 vapier Exp $
+# $Id: gplflash-0.4.10-r1.ebuild,v 1.9 2002/10/22 07:42:29 seemant Exp $
 
 S=${WORKDIR}/flash-0.4.10
 DESCRIPTION="GPL Shockwave Flash Player/Plugin"
 SRC_URI="http://www.swift-tools.com/Flash/flash-0.4.10.tgz"
 HOMEPAGE="http://www.swift-tools.com/Flash"
+
+SLOT="0"
+LICENSE="GPL-2"
 KEYWORDS="x86 ppc sparc sparc64"
 
 DEPEND="media-libs/libflash"
 
-LICENSE="GPL-2"
-SLOT="0"
-
 src_unpack() {
        cd ${WORKDIR}
        unpack flash-0.4.10.tgz
@@ -21,20 +21,19 @@ src_unpack() {
 }
 
 src_compile() {
-       cd ${S}
-       emake
+       emake || die
 }
 
-src_install() {                               
-  cd ${S}/Plugin
-  insinto /opt/netscape/plugins
-  doins npflash.so
-  cd ${S}
-  dodoc README COPYING
-  
-  if [ "`use mozilla`" ] ; then
-    dodir /usr/lib/mozilla/plugins
-    dosym /opt/netscape/plugins/npflash.so \
-          /usr/lib/mozilla/plugins/npflash.so 
-  fi
+src_install() {                                                                                                                         
+       cd ${S}/Plugin
+       insinto /opt/netscape/plugins
+       doins npflash.so
+       cd ${S}
+       dodoc README COPYING
+       
+       if [ "`use mozilla`" ] ; then
+               dodir /usr/lib/mozilla/plugins
+               dosym /opt/netscape/plugins/npflash.so \
+                       /usr/lib/mozilla/plugins/npflash.so 
+       fi
 }
index 44bb490da70af3e1615fb65757436177e045bd50..0301598255284d2c29429d08637bdc3e6b7d3d4c 100644 (file)
@@ -1,14 +1,15 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Id: gplflash-0.4.10.ebuild,v 1.7 2002/10/04 06:19:32 vapier Exp $
+# $Id: gplflash-0.4.10.ebuild,v 1.8 2002/10/22 07:42:29 seemant Exp $
 
 S=${WORKDIR}/flash-0.4.10
 DESCRIPTION="GPL Shockwave Flash Player/Plugin"
 SRC_URI="http://www.swift-tools.com/Flash/flash-0.4.10.tgz"
 HOMEPAGE="http://www.swift-tools.com/Flash"
-KEYWORDS="x86 ppc sparc sparc64"
+
 SLOT="0"
 LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc sparc64"
 
 DEPEND="media-libs/libflash"
 
@@ -22,20 +23,19 @@ src_unpack() {
 }
 
 src_compile() {
-       cd ${S}
-       emake
+       emake || die
 }
 
-src_install() {                               
-  cd ${S}/Plugin
-  insinto /opt/netscape/plugins
-  doins npflash.so
-  cd ${S}
-  dodoc README ReadMe.htm
-  
-  if [ "`use mozilla`" ] ; then
-    dodir /usr/lib/mozilla/plugins
-    dosym /opt/netscape/plugins/npflash.so \
-          /usr/lib/mozilla/plugins/npflash.so 
-  fi
+src_install() {                                                                                                                         
+       cd ${S}/Plugin
+       insinto /opt/netscape/plugins
+       doins npflash.so
+       cd ${S}
+       dodoc README ReadMe.htm
+       
+       if [ "`use mozilla`" ] ; then
+               dodir /usr/lib/mozilla/plugins
+               dosym /opt/netscape/plugins/npflash.so \
+                       /usr/lib/mozilla/plugins/npflash.so 
+       fi
 }