wok-6.x view stardict/receipt @ rev 21448

updated mk-livestatus (1.2.2 -> 1.2.8p25)
author Hans-G?nter Theisgen
date Mon Apr 29 16:37:24 2019 +0100 (2019-04-29)
parents 6135577f4d08
children ed3f388d2297
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="http://stardict-4.sourceforge.net/"
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 }