Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=ooodev.git;a=commitdiff;h=14df1567ec34c57c073651445fe2cdec6608d8d6
commit 14df1567ec34c57c073651445fe2cdec6608d8d6
Author: VMiklos <[EMAIL PROTECTED]>
Date: Tue Sep 4 12:20:41 2007 +0200
replace options=('devel') with USE_DEVEL
this is good because then the value of this option can be changed from the
commandline, without modifying the FB
diff --git a/source/xapps/openoffice.org/FrugalBuild
b/source/xapps/openoffice.org/FrugalBuild
index 97adafb..1e1d0ac 100644
--- a/source/xapps/openoffice.org/FrugalBuild
+++ b/source/xapps/openoffice.org/FrugalBuild
@@ -3,9 +3,8 @@
# Contributor: Laszlo Dvornik <[EMAIL PROTECTED]>
pkgname=openoffice.org
-# uncomment this to get a -devel build
-options=('devel')
-if [ ! "`check_option DEVEL`" ]; then
+USE_DEVEL=${USE_DEVEL:-""}
+if ! [ $USE_DEVEL ]; then
upstream=2.2.1
branch=2-2
tree=oof680
@@ -34,7 +33,7 @@ makedepends=('curl' 'intltool' 'tcsh' 'pam-headers' 'firefox'
'apache-ant' 'gcc-
'libbonobo' 'procps' 'openldap' 'mono' 'gperf' 'xulrunner')
groups=('xapps')
archs=('i686' 'x86_64')
-if [ ! "`check_option DEVEL`" ]; then
+if ! [ $USE_DEVEL ]; then
up2date="lynx -dump $url |grep version:|sed 's/.*: //'"
source=(http://ftp.frugalware.org/pub/other/sources/ooo-build/ooo-build-$branch-$snapshot.tar.bz2
\
http://hu.openoffice.org/source/browse/*checkout*/hu/src/2.2.0/SDF/hu.sdf.bz2)
@@ -60,7 +59,7 @@ subinstall=("" "$_F_gnome_scriptlet")
ooosubpkgs=('de' 'es' 'fr' 'hu')
ooosubdescs=('German' 'Spanish' 'French' 'Hungarian')
-if [ ! "`check_option DEVEL`" ]; then
+if ! [ $USE_DEVEL ]; then
ooosubpkgs=([EMAIL PROTECTED] 'af' 'ar' 'be-BY' 'bg' 'bn' 'bn-BD' 'bn-IN' 'br'
'bs' 'ca' 'cy' 'cs' 'da' 'el' 'en-GB' 'en-ZA' 'eo' 'et' 'eu' 'fi' 'ga' 'gl'
'gu-IN' 'he' 'hi-IN' 'hr' 'it' 'ja' 'km' 'kn-IN' 'ko' 'lo' 'lt' 'lv' 'mk' 'ms'
'nb' 'ne' 'nl' 'nn' 'nr' 'ns' 'pa-IN' 'pl' 'pt' 'pt-BR' 'ru' 'rw' 'sh-YU' 'sk'
'sl' 'sr-CS' 'ss' 'st' 'sv' 'sw' 'sw-TZ' 'sx' 'ta-IN' 'th' 'tn' 'tr' 'ts' 've'
'vi' 'xh' 'zh-CN' 'zh-TW' 'zu' 'fa' 'ku' 'as-IN' 'ml-IN' 'mr-IN' 'or-IN'
'te-IN' 'tg' 'ti-ER' 'uk' 'ur-IN' 'dz')
ooosubdescs=([EMAIL PROTECTED] 'Afrikaans' 'Arabic' 'Belarusian' 'Bulgarian'
'Bengali' 'Bengali (Bangladesh)' 'Bengali (India)' 'Breton' 'Bosnian' 'Catalan'
'Welsh' 'Czech' 'Danish' 'Greek' 'English (GB)' 'English (South Africa)'
'Esperanto' 'Estonian' 'Basque' 'Finnish' 'Irish' 'Galician' 'Gujarati'
'Hebrew' 'Hindi' 'Croatian' 'Italian' 'Japanese' 'Khmer (Cambodia)' 'Kannada'
'Korean' 'Lao' 'Lithuanian' 'Latvian' 'Macedonian' 'Malay' 'Norwegian Bokmal'
'Nepali' 'Dutch' 'Norwegian Nynorsk' 'Ndebele, South' 'NorthernSotho/Sepedi'
'Punjabi' 'Polish' 'Portuguese' 'Brazil (Port.)' 'Russian' 'Kinyarwanda'
'Serbian Latin' 'Slovak' 'Slovenian' 'Serbian Cyrillic' 'Swati' 'Sotho'
'Swedish' 'Swahili' 'Swahili ' 'South Georgian' 'Tamil' 'Thai' 'Tswana'
'Turkish' 'Tsonga' 'Venda' 'Vietnamese' 'Xhosa' 'Chinese (simplified)' 'Chinese
(traditional)' 'Zulu' 'Persian' 'Kurdish' 'Assamese' 'Malayalam' 'Marathi'
'Oriya' 'Telugu' 'Tajik' 'Tigrinya' 'Ukrainian' 'Urdu' 'Dzongkha')
fi
@@ -101,7 +100,7 @@ done
build() {
Fmonoexport
- if [ ! "`check_option DEVEL`" ]; then
+ if ! [ $USE_DEVEL ]; then
Fcd ooo-build-${branch//-/.}
rm -f patches/src680/fix-invisible-text.diff
else
@@ -141,7 +140,7 @@ build() {
# Optimize build.
export ARCH_FLAGS="$CFLAGS"
- if [ "`check_option DEVEL`" ]; then
+ if ! [ $USE_DEVEL ]; then
Fconf --with-lang="en-US de es fr hu" --enable-separate-helpcontent
else
Fconf --with-lang=ALL
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git