wok view stardict/receipt @ rev 15213
Add nbd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 13 12:21:17 2013 +0000 (2013-09-13) |
parents | 4921453279b3 |
children | 8d64ce80ab95 |
line source
1 # SliTaz package receipt.
3 PACKAGE="stardict"
4 VERSION="3.0.1"
5 CATEGORY="utilities"
6 SHORT_DESC="A powerful international dictionary written in Gtk2"
7 MAINTAINER="lufeng369@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://code.google.com/p/stardict-3/"
11 WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL"
13 DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
14 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \
15 xorg-libSM-dev zlib-dev util-linux-uuid-dev libffi"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
22 patch -p1 < $stuff/sigc++.patch || return 1
23 patch -p1 < $stuff/stardict_gcc43.patch || return 1
25 ./configure \
26 --prefix=/usr \
27 --disable-man \
28 --disable-qqwry \
29 --sysconfdir=/etc \
30 --disable-gnome-support \
31 --disable-schemas-install \
32 --disable-espeak \
33 --disable-gucharmap \
34 --disable-festival \
35 --disable-advertisement \
36 --disable-updateinfo \
37 $CONFIGURE_ARGS &&
38 make && make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 cp -a $install/usr $fs/
46 }