wok-current view stardict/receipt @ rev 20679
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 12:26:47 2019 +0100 (2019-01-26) |
parents | 8d64ce80ab95 |
children | 20661c276bcf |
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@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://code.google.com/archive/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 }