设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
Archlinux讨论区
›
OOo-buind 2.0 for Arch
返回列表
查看:
910
|
回复:
2
OOo-buind 2.0 for Arch
[复制链接]
zerolin
zerolin
当前离线
积分
1137
IP卡
狗仔卡
发表于 2006-1-5 19:50:28
|
显示全部楼层
|
阅读模式
谁的性能好的试试,做做小白鼠,可以显示虚拟粗,斜体的。
http://bbs.archlinux.org/viewtop ... r=asc&highlight
# $Id: PKGBUILD,v 1.13 2005/11/05 09:17:54 tpowa Exp $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
pkgname=openoffice.org
pkgver=2.0.1
pkgrel=1
pkgdesc="OpenOffice.org - a free office suite"
url="http://www.openoffice.org"
depends=('perl gtk2 gnome-vfs libxml2 libart-lgpl libsndfile startup-notification fontconfig libpng imagemagick flex mozilla-firefox nss neon>=0.24.0 bison zip unzip expat cups desktop-file-utils perl-archive-zip unixodbc x-server desktop-file-utils')
makedepends=('j2sdk apache-ant libgpcl glitz cairo ccache tcshfindutils curl intltool tcsh gcc pam qt kdelibs evolution-data-server boost icu pam')
conflicts=('openoffice-spell-it')
#install=(openoffice.install)
replaces=('openoffice-en')
_relver=OOA680
_oootagver=OOO_2_0_1
_build=SRC680
source=(http://go-ooo.org/packages/$_relver/ooo-build-$pkgver.tar.gz \
http://go-ooo.org/packages/$_relver/$_oootagver-core.tar.bz2 \
http://go-ooo.org/packages/$_relver/$_oootagver-lang.tar.bz2 \
http://go-ooo.org/packages/$_relver/$_oootagver-system.tar.bz2 \
http://go-ooo.org/packages/$_relver/$_oootagver-binfilter.tar.bz2 \
http://go-ooo.org/packages/$_relver/$_oootagver-sdk_oo.tar.bz2 \
http://go-ooo.org/packages/$_build/extras-2.tar.bz2 \
http://go-ooo.org/packages/$_build/ooo_crystal_images-6.tar.bz2 \
http://go-ooo.org/packages/$_build/ooo_custom_images-13.tar.bz2 \
http://go-ooo.org/packages/libwpd/libwpd-0.8.3.tar.gz \
http://go-ooo.org/packages/SRC680/cairo-1.0.2.tar.gz \
http://go-ooo.org/packages/SRC680/glitz-0.4.3.tar.gz \
http://go-ooo.org/packages/SRC680/mdbtools-0.6pre1.tar.gz \
http://go-ooo.org/packages/SRC680/hunspell-1.0.8.tar.gz \
http://go-ooo.org/packages/SRC680/hunspell_UNO_1.1.tar.gz \
http://go-ooo.org/packages/SRC680/cli_types.dll \ # only with offline build
http://go-ooo.org/packages/SRC680/cli_types_bridgetest.dll \ # only with offline build
)
md5sums=('efa2962487704143767bab8fa08b9477' 'fc0a44c3344c2274b4ea2ee1a8501df5'\
'694a196fbcc4f9eb0bdd84656b6b6b2d' '642eaffe89f652358de8261618b3d016'\
'4e50fd0fb02155edc410e9fea01e5c59' 'a3e8fd82a8404e05e09f0f5cd36f9050'\
'733051ebeffae5232a2eb760162da020' '586d0f26b3f79d89bbb5b25b874e3df6'\
'2480af7f890c8175c7f9e183a1b39ed2' 'f34404f8dc6123aca156d203c37e3e5d'\
'd0b7111a14f90ec3afa777ec40c44984' '100c4272ad181dcd3b53f602cee3f189'\
'246e8f38b2a1af1bcff60ee0da59300b' '1a3d9746f169c2c535bb69f9f838f28b'\
'4cc68d37ed3a3191bb78a14630e14c64' '2aa6bb72a257abcd896014b08fa4e6f0'\
'f06322e5157495c22ba77f310fa4a89b')
NOEXTRACT=1
build() {
# fix for nss
ln -s /usr/lib/pkgconfig/mozilla-nss.pc $startdir/src/firefox-nss.pc
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$startdir/src
# Untar the ooo-build stuff
tar -xvzf ooo-build-$pkgver.tar.gz || return 1
# Copy downloaded tarballs to the correct location. With this
# ooo-build won't download the tarballs again.
cp $_oootagver-core.tar.bz2 ooo-build-$pkgver/src || return 1
cp $_oootagver-system.tar.bz2 ooo-build-$pkgver/src || return 1
cp $_oootagver-lang.tar.bz2 ooo-build-$pkgver/src || return 1
cp $_oootagver-binfilter.tar.bz2 ooo-build-$pkgver/src || return 1
cp $_oootagver-sdk_oo.tar.bz2 ooo-build-$pkgver/src || return 1
cp ooo_crystal_images-6.tar.bz2 ooo-build-$pkgver/src || return 1
cp ooo_custom_images-13.tar.bz2 ooo-build-$pkgver/src || return 1
cp extras-2.tar.bz2 ooo-build-$pkgver/src || return 1
cp cairo-1.0.2.tar.gz ooo-build-$pkgver/src || return 1
cp glitz-0.4.3.tar.gz ooo-build-$pkgver/src || return 1
cp mdbtools-0.6pre1.tar.gz ooo-build-$pkgver/src || return 1
cp libwpd-0.8.3.tar.gz ooo-build-$pkgver/src || return 1
cp cli_types.dll ooo-build-$pkgver/src || return 1
cp cli_types_bridgetest.dll ooo-build-$pkgver/src || return 1
cd $startdir/src/ooo-build-$pkgver
./configure --prefix=/opt/openoffice \
--with-arch="x86" \
--with-srcdir=$startdir/src \
--with-lang="en-US af ar ca cs cy da de el en-GB es et eu fi fr he hi hu it ja ko nb nl nn pl pt pt-BR ru sk sl sv ta tr zh-TW zh-CN zu" \
--with-binsuffix=2 \
--enable-gtk \
--enable-kde \
--disable-access \
--disable-mono \
--disable-cairo \
--without-firefox-nss \
--with-mozilla-nss \
--with-firefox \
--disable-post-install-scripts \
--mandir=/usr/man \
--without-docdir \
--with-java \
--with-jdk-home=/opt/java \
--with-ant-home=/usr \
--with-hunspell \
--with-gcc-speedup=ccache \
--with-distro=NLD \
--with-system-fonts \
--with-system-gpc \
# multiprocessing tends to break the build
make -j1 || return 1
make DESTDIR=$startdir/pkg install || return 1
}
复制代码
perl-archive-zip
http://aur.archlinux.org/package ... mp;SO=&
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
pkgname=perl-archive-zip
pkgver=1.16
pkgrel=1
pkgdesc="Archive::Zip - Provide an interface to ZIP archive files"
url="http://search.cpan.org/~smpeters/Archive-Zip-1.16/lib/Archive/Zip.pod"
license=""
groups=('xmltv')
depends=('perl')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://search.cpan.org/CPAN/authors/id/S/SM/SMPETERS/Archive-Zip-$pkgver.tar.gz)
md5sums=('e28dff400d07b1659d659d8dde7071f1')
build() {
cd $startdir/src/Archive-Zip-$pkgver
perl Makefile.PL
chmod -R u+w *
make || return 1
make DESTDIR=$startdir/pkg install
mv $startdir/pkg/usr/lib/perl5/site_perl/?.?.? $startdir/pkg/usr/lib/perl5/site_perl/current
rm -rf $startdir/pkg/usr/lib/perl5/?.?.?
}
复制代码
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
diony
diony
当前离线
积分
2162
IP卡
狗仔卡
发表于 2006-1-5 20:13:01
|
显示全部楼层
所依赖的perl-archive-zip是官方源里没有的。
回复
支持
反对
使用道具
举报
显身卡
ganloo
ganloo
当前离线
积分
1823
IP卡
狗仔卡
发表于 2006-1-5 20:35:33
|
显示全部楼层
qt.kde is a build-time dependency? Oh, I also have a slow machine, so I give up a try.
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表