Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1c93deebc4cc2bea8151ef2cf9ac593f73a1fe73

commit 1c93deebc4cc2bea8151ef2cf9ac593f73a1fe73
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Jun 2 02:04:13 2008 +0200

freemind-0.8.1-1-i686
- new package
- requested by boobaa, i hava one more beer now ;)

diff --git a/source/xapps-extra/freemind/FrugalBuild 
b/source/xapps-extra/freemind/FrugalBuild
new file mode 100644
index 0000000..da91653
--- /dev/null
+++ b/source/xapps-extra/freemind/FrugalBuild
@@ -0,0 +1,43 @@
+# Compiling Time: 0.26 SBU
+# Maintainer: VMiklos <[EMAIL PROTECTED]>
+
+pkgname=freemind
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="A free mind mapping software"
+_F_sourceforge_ext=".zip"
+_F_sourceforge_name="$pkgname-src"
+Finclude sourceforge java
+makedepends=([EMAIL PROTECTED] 'j2sdk')
+up2date="lynx -dump http://freemind.sourceforge.net/wiki/index.php/Download | 
grep 'latest stable' | sed 's/.* is \(.*\)\. .*/\1/'"
+source=(${source/$pkgver/${pkgver//./_}})
+groups=('xapps-extra')
+archs=('i686')
+sha1sums=('27b09fdbd4b39219ab16d4b9574b972dbafe54e1')
+
+build()
+{
+       Fcd $pkgname
+       # no java 1.2, thx
+       Fsed '1\.2' '1.3' build.xml
+
+       # it won't build with gcj because it uses
+       # sun.misc.BASE64Encoder, so for now build using Sun's javac
+       #Fjavacleanup
+       export JAVA_HOME=/usr/lib/java
+
+       Fant dist browser
+
+       # wtf? this really spams outside the cwd..
+       Fdocrel doc/*
+       cd "$Fsrcdir/bin/dist"
+       Fmkdir /usr/lib/freemind
+       chmod 755 freemind.sh
+       rm -f *.bat *.exe
+       for i in *
+       do
+               Fcprel $i /usr/lib/freemind/
+       done
+       # no, a symlink won't work
+       Fwrapper /usr/lib/freemind/freemind.sh freemind
+}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to