summaryrefslogtreecommitdiffstats
path: root/libreoffice
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2012-03-18 12:20:58 +0000
committer Eric Hameleers <alien@slackware.com>2012-03-18 12:20:58 +0000
commit49ea75f0a9452c02b0d307da8916677e160acf9a (patch)
treee82a53de2664e96244041bed15a3f7390e52ba47 /libreoffice
parent94f5b08f11868a84c00212c29269246f7e965be1 (diff)
downloadasb-49ea75f0a9452c02b0d307da8916677e160acf9a.tar.gz
asb-49ea75f0a9452c02b0d307da8916677e160acf9a.tar.xz
Initial revision
Diffstat (limited to 'libreoffice')
-rwxr-xr-xlibreoffice/build/gensrc_lo36.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/libreoffice/build/gensrc_lo36.sh b/libreoffice/build/gensrc_lo36.sh
new file mode 100755
index 00000000..07254397
--- /dev/null
+++ b/libreoffice/build/gensrc_lo36.sh
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+PRGNAM=libreoffice
+VERSION=3.5.0
+SUBVER=.3
+
+STARTINDEX=7
+
+III=$STARTINDEX
+for FILE in $( wget -q -O - "http://cgit.freedesktop.org/libreoffice/core/plain/ooo.lst.in?id=$(echo $PRGNAM-$VERSION$SUBVER)" |grep -v "^@" ) ; do
+
+ if echo $FILE | grep -q "^http://"; then
+ SRCURL=$FILE
+ else
+ cat <<EOT
+SOURCE[$III]="\$SRCDIR/sources/$FILE"
+SRCURL[$III]="$SRCURL/$FILE"
+
+EOT
+ III=$(($III+1))
+ fi
+
+done