LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 911|回复: 2

OOo-buind 2.0 for Arch

[复制链接]
发表于 2006-1-5 19:50:28 | 显示全部楼层 |阅读模式
谁的性能好的试试,做做小白鼠,可以显示虚拟粗,斜体的。
http://bbs.archlinux.org/viewtop ... r=asc&highlight



  1. # $Id: PKGBUILD,v 1.13 2005/11/05 09:17:54 tpowa Exp $
  2. # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
  3. # Contributor: Sarah Hay <sarah@archlinux.org>

  4. pkgname=openoffice.org
  5. pkgver=2.0.1
  6. pkgrel=1
  7. pkgdesc="OpenOffice.org - a free office suite"
  8. url="http://www.openoffice.org"

  9. 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')

  10. makedepends=('j2sdk apache-ant libgpcl glitz cairo ccache tcshfindutils curl intltool tcsh gcc pam qt kdelibs evolution-data-server boost icu pam')

  11. conflicts=('openoffice-spell-it')
  12. #install=(openoffice.install)
  13. replaces=('openoffice-en')

  14. _relver=OOA680
  15. _oootagver=OOO_2_0_1
  16. _build=SRC680

  17. source=(http://go-ooo.org/packages/$_relver/ooo-build-$pkgver.tar.gz \
  18.    http://go-ooo.org/packages/$_relver/$_oootagver-core.tar.bz2 \
  19.    http://go-ooo.org/packages/$_relver/$_oootagver-lang.tar.bz2 \
  20.    http://go-ooo.org/packages/$_relver/$_oootagver-system.tar.bz2 \
  21.    http://go-ooo.org/packages/$_relver/$_oootagver-binfilter.tar.bz2 \
  22.    http://go-ooo.org/packages/$_relver/$_oootagver-sdk_oo.tar.bz2 \
  23.    http://go-ooo.org/packages/$_build/extras-2.tar.bz2 \
  24.    http://go-ooo.org/packages/$_build/ooo_crystal_images-6.tar.bz2 \
  25.    http://go-ooo.org/packages/$_build/ooo_custom_images-13.tar.bz2 \
  26.    http://go-ooo.org/packages/libwpd/libwpd-0.8.3.tar.gz \
  27.    http://go-ooo.org/packages/SRC680/cairo-1.0.2.tar.gz \
  28.    http://go-ooo.org/packages/SRC680/glitz-0.4.3.tar.gz \
  29.    http://go-ooo.org/packages/SRC680/mdbtools-0.6pre1.tar.gz \
  30.    http://go-ooo.org/packages/SRC680/hunspell-1.0.8.tar.gz \
  31.    http://go-ooo.org/packages/SRC680/hunspell_UNO_1.1.tar.gz \
  32.    http://go-ooo.org/packages/SRC680/cli_types.dll \       # only with offline build
  33.    http://go-ooo.org/packages/SRC680/cli_types_bridgetest.dll \    # only with offline build
  34. )

  35. md5sums=('efa2962487704143767bab8fa08b9477' 'fc0a44c3344c2274b4ea2ee1a8501df5'\
  36.          '694a196fbcc4f9eb0bdd84656b6b6b2d' '642eaffe89f652358de8261618b3d016'\
  37.          '4e50fd0fb02155edc410e9fea01e5c59' 'a3e8fd82a8404e05e09f0f5cd36f9050'\
  38.          '733051ebeffae5232a2eb760162da020' '586d0f26b3f79d89bbb5b25b874e3df6'\
  39.          '2480af7f890c8175c7f9e183a1b39ed2' 'f34404f8dc6123aca156d203c37e3e5d'\
  40.          'd0b7111a14f90ec3afa777ec40c44984' '100c4272ad181dcd3b53f602cee3f189'\
  41.          '246e8f38b2a1af1bcff60ee0da59300b' '1a3d9746f169c2c535bb69f9f838f28b'\
  42.          '4cc68d37ed3a3191bb78a14630e14c64' '2aa6bb72a257abcd896014b08fa4e6f0'\
  43.          'f06322e5157495c22ba77f310fa4a89b')

  44. NOEXTRACT=1

  45. build() {
  46.   # fix for nss
  47.   ln -s /usr/lib/pkgconfig/mozilla-nss.pc $startdir/src/firefox-nss.pc
  48.   PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$startdir/src
  49.   
  50.   # Untar the ooo-build stuff
  51.   tar -xvzf ooo-build-$pkgver.tar.gz || return 1

  52.   # Copy downloaded tarballs to the correct location. With this
  53.   # ooo-build won't download the tarballs again.
  54.   cp $_oootagver-core.tar.bz2 ooo-build-$pkgver/src || return 1
  55.   cp $_oootagver-system.tar.bz2 ooo-build-$pkgver/src || return 1
  56.   cp $_oootagver-lang.tar.bz2 ooo-build-$pkgver/src || return 1
  57.   cp $_oootagver-binfilter.tar.bz2 ooo-build-$pkgver/src || return 1
  58.   cp $_oootagver-sdk_oo.tar.bz2 ooo-build-$pkgver/src || return 1
  59.   cp ooo_crystal_images-6.tar.bz2 ooo-build-$pkgver/src || return 1
  60.   cp ooo_custom_images-13.tar.bz2 ooo-build-$pkgver/src || return 1
  61.   cp extras-2.tar.bz2 ooo-build-$pkgver/src || return 1
  62.   cp cairo-1.0.2.tar.gz ooo-build-$pkgver/src || return 1
  63.   cp glitz-0.4.3.tar.gz ooo-build-$pkgver/src || return 1
  64.   cp mdbtools-0.6pre1.tar.gz ooo-build-$pkgver/src || return 1
  65.   cp libwpd-0.8.3.tar.gz ooo-build-$pkgver/src || return 1
  66.   cp cli_types.dll ooo-build-$pkgver/src || return 1
  67.   cp cli_types_bridgetest.dll ooo-build-$pkgver/src || return 1

  68.   cd $startdir/src/ooo-build-$pkgver
  69.   ./configure --prefix=/opt/openoffice \
  70.    --with-arch="x86" \
  71.    --with-srcdir=$startdir/src \
  72.    --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" \
  73.    --with-binsuffix=2 \
  74.    --enable-gtk \
  75.    --enable-kde \
  76.    --disable-access \
  77.    --disable-mono \
  78.    --disable-cairo \
  79.    --without-firefox-nss \
  80.    --with-mozilla-nss \
  81.    --with-firefox \
  82.    --disable-post-install-scripts \
  83.    --mandir=/usr/man \
  84.    --without-docdir \
  85.    --with-java \
  86.    --with-jdk-home=/opt/java \
  87.    --with-ant-home=/usr \
  88.    --with-hunspell \
  89.    --with-gcc-speedup=ccache \
  90.    --with-distro=NLD \
  91.    --with-system-fonts \
  92.    --with-system-gpc \
  93.   # multiprocessing tends to break the build
  94.   make -j1 || return 1
  95.   make DESTDIR=$startdir/pkg install || return 1
  96. }
复制代码



perl-archive-zip

http://aur.archlinux.org/package ... mp;SO=&


  1. # Contributor: Andrew Simmons <andrew.simmons@gmail.com>

  2. pkgname=perl-archive-zip
  3. pkgver=1.16
  4. pkgrel=1
  5. pkgdesc="Archive::Zip - Provide an interface to ZIP archive files"
  6. url="http://search.cpan.org/~smpeters/Archive-Zip-1.16/lib/Archive/Zip.pod"
  7. license=""
  8. groups=('xmltv')
  9. depends=('perl')
  10. makedepends=()
  11. conflicts=()
  12. replaces=()
  13. backup=()
  14. install=
  15. source=(http://search.cpan.org/CPAN/authors/id/S/SM/SMPETERS/Archive-Zip-$pkgver.tar.gz)
  16. md5sums=('e28dff400d07b1659d659d8dde7071f1')

  17. build() {
  18.   cd $startdir/src/Archive-Zip-$pkgver
  19.   perl Makefile.PL
  20.   chmod -R u+w *
  21.   make || return 1
  22.   make DESTDIR=$startdir/pkg install
  23.   mv $startdir/pkg/usr/lib/perl5/site_perl/?.?.? $startdir/pkg/usr/lib/perl5/site_perl/current
  24.   rm -rf $startdir/pkg/usr/lib/perl5/?.?.?
  25. }
复制代码
发表于 2006-1-5 20:13:01 | 显示全部楼层
所依赖的perl-archive-zip是官方源里没有的。
回复 支持 反对

使用道具 举报

发表于 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.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表