Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8a5f1400d2a90443b0be07dd339c3e26c3f2dbda
commit 8a5f1400d2a90443b0be07dd339c3e26c3f2dbda
Author: VMiklos <[EMAIL PROTECTED]>
Date: Wed Sep 5 14:46:02 2007 +0200
openoffice.org-2.2.1-2-i686
replace check_option with Fuse
diff --git a/source/xapps/openoffice.org/FrugalBuild
b/source/xapps/openoffice.org/FrugalBuild
index ce9455d..faf37a8 100644
--- a/source/xapps/openoffice.org/FrugalBuild
+++ b/source/xapps/openoffice.org/FrugalBuild
@@ -2,10 +2,10 @@
# Maintainer: Janny <[EMAIL PROTECTED]>
# Contributor: Laszlo Dvornik <[EMAIL PROTECTED]>
+USE_DEVEL=${USE_DEVEL:-"n"}
+
pkgname=openoffice.org
-# uncomment this to get a -devel build
-#options=('devel')
-if [ ! "`check_option DEVEL`" ]; then
+if ! Fuse $USE_DEVEL; then
upstream=2.2.1
branch=2-2
tree=oof680
@@ -34,7 +34,7 @@ makedepends=('curl' 'intltool' 'tcsh' 'pam-headers' 'firefox'
'apache-ant' 'gcc-
'libbonobo' 'procps' 'openldap' 'mono')
groups=('xapps')
archs=('i686' 'x86_64')
-if [ ! "`check_option DEVEL`" ]; then
+if ! Fuse $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 \
@@ -61,7 +61,7 @@ subinstall=("" "$_F_gnome_scriptlet")
ooosubpkgs=('de' 'es' 'fr' 'hu')
ooosubdescs=('German' 'Spanish' 'French' 'Hungarian')
-if [ ! "`check_option DEVEL`" ]; then
+if ! Fuse $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
@@ -100,7 +100,7 @@ done
build() {
Fmonoexport
- if [ ! "`check_option DEVEL`" ]; then
+ if ! Fuse $USE_DEVEL; then
Fcd ooo-build-${branch//-/.}
else
Fcd ooo-build
@@ -146,7 +146,7 @@ build() {
# Optimize build.
export ARCH_FLAGS="$CFLAGS"
- if [ "`check_option DEVEL`" ]; then
+ if Fuse $USE_DEVEL; then
Fconf --with-lang="en-US de es fr hu"
else
Fconf --with-lang=ALL
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git