|
想在gcc4.3下重新编译stardict 3.0.1,不依赖任何gnome库,以前在gcc4.2下是ok的,但新gcc下出错,以下是PKGBUILD,不知大家能否成功。
- # Maintainer: RZLi <dream7180@gmail.com>
- pkgname=stardict
- pkgver=3.0.1
- pkgrel=6
- pkgdesc="StarDict is a powerful international dictionary written in Gtk2."
- arch=(i686 x86_64)
- url="http://stardict.sourceforge.net/"
- license=('GPL')
- depends=('libsigc++2.0' 'enchant')
- makedepends=('perlxml' 'popt')
- source=(http://downloads.sourceforge.net/sourceforge/stardict/$pkgname-$pkgver.tar.bz2)
- build()
- {
- cd $startdir/src/$pkgname-$pkgver
- ./configure PKG_CONFIG=/usr/bin/pkg-config --prefix=/usr --sysconfdir=/etc \
- --mandir=/usr/man --disable-gnome-support --disable-schemas-install \
- --disable-espeak --disable-gucharmap --disable-festival
- make || return 1
- make DESTDIR=$startdir/pkg install
- }
复制代码 |
|