[Frugalware-devel] FB review netbeans
gaetan (bouleetbil)
bouleetbil at frogdev.info
Wed Mar 12 23:57:45 CET 2008
Hello
A FB for netbeans with ruby
# Compiling Time: 2.66 SBU
# Maintainer: bouleetbil <bouleetbil at frogdev.info>
pkgname=netbeans
pkgver=6.0.1
pkgrel=1
pkgdate=200801291616
pkgdesc="The original free Java IDE, and so much more."
url="http://www.netbeans.info/"
source=(http://download.netbeans.org/$pkgname/6.0/final/zip/$pkgname-$pkgver-$pkgdate-src.zip)
Vers=6.0
url="http://download.netbeans.org/$pkgname/$Vers/final/zip/"
up2date="lynx -dump $url | grep $url$pkgname- | tail -1 | cut -d- -f2"
sha1sums=('f9b28b303bf83c51cb1415312d7a654b2421fad4')
depends=('j2sdk' 'ruby')
makedepends=('apache-ant')
groups=('devel-extra')
archs=('i686' 'x86_64')
_F_desktop_name="$pkgname"
_F_desktop_icon="/usr/lib/netbeans/nb6.0/netbeans.png"
_F_desktop_categories="KDE;GNOME;Development;IDE;"
build()
{
cd $Fsrcdir
echo
nb.clusters.list=nb.cluster.nb,nb.cluster.platform,nb.cluster.ide,nb.cluster.ruby,nb.cluster.java,nb.cluster.apisupport,nb.cluster.harness>>
nbbuild/user.build.properties # for now build using Sun's javac export
JAVA_HOME=/usr/lib/java #if you want latest source
#ant -f build.xml checkout || return 1
#-Dpermit.jdk6.builds=true for force jdk6 and not 5
ANT_OPTS="-Xmx512M" ant -f nbbuild/build.xml
-Dstop.when.broken.modules=true -Dbuild.compiler.deprecation=true
-Dpermit.jdk6.builds=true || return 1 cd $Fsrcdir/nbbuild || return 1 #
bin non-Linux binaries find * -type f -name "*.exe" -o \
-name "*.cmd" -o \
-name "*.bat" -o \
-name "*.dll" \
| xargs rm -f
cd $Fsrcdir/nbbuild/netbeans
Fmkdir /usr/lib/netbeans/
Fmkdir /usr/bin
# for launch
echo "#!/bin/sh" > netbeans.sh
echo "/usr/lib/netbeans/bin/netbeans $@" >> netbeans.sh
chmod +x netbeans.sh || return 1
mv netbeans.sh $Fdestdir/usr/bin/netbeans || return 1
# the real installation
cp -a * $Fdestdir/usr/lib/netbeans || return 1
Fdesktop2
}
--
#---------------------------------------------------------------------------
# Bouleetbil
#
#---------------------------------------------------------------------------
# http://www.frogdev.info
# _ _
# (o)--(o)
# /.______.\
# \________/
# ./ \.
# ( . , )
# \ \_\\//_/ /
# ~~ ~~ ~~
#---------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : /pipermail/attachments/20080312/439eab22/signature-0001.asc
More information about the Frugalware-devel
mailing list