wok-6.x view stardict/receipt @ rev 14112
smbclient: fix too much newline that produced a 546 files smbclient package, sorry about that
author | ernia <monghitri@aruba.it> |
---|---|
date | Sun Feb 24 21:28:58 2013 +0000 (2013-02-24) |
parents | 4454b920a23d |
children | 2b9f96603415 |
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 DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
9 BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev \
10 xorg-libSM-dev zlib-dev util-linux-uuid-dev libffi"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://code.google.com/p/stardict-3/"
13 WGET_URL="http://stardict-3.googlecode.com/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/<vector>/&\n#include <stdio.h>/' stardict-plugins/stardict-wordnet-plugin/scene.hpp
20 patch -p1 < $stuff/sigc++.patch || return 1
21 patch -p1 < $stuff/stardict_gcc43.patch || return 1
23 ./configure \
24 --prefix=/usr \
25 --disable-man \
26 --disable-qqwry \
27 --sysconfdir=/etc \
28 --disable-gnome-support \
29 --disable-schemas-install \
30 --disable-espeak \
31 --disable-gucharmap \
32 --disable-festival \
33 --disable-advertisement \
34 --disable-updateinfo \
35 $CONFIGURE_ARGS &&
36 make && make DESTDIR=$PWD/_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $_pkg/usr $fs/
44 }