wok-next view stardict/receipt @ rev 12620

stardict: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 29 11:55:46 2012 +0200 (2012-04-29)
parents 73641efed1cc
children 4921453279b3
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 patch -p1 < $stuff/sigc++.patch || return 1
20 patch -p1 < $stuff/stardict_gcc43.patch || return 1
22 ./configure \
23 --prefix=/usr \
24 --disable-man \
25 --disable-qqwry \
26 --sysconfdir=/etc \
27 --disable-gnome-support \
28 --disable-schemas-install \
29 --disable-espeak \
30 --disable-gucharmap \
31 --disable-festival \
32 --disable-advertisement \
33 --disable-updateinfo \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$PWD/_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $_pkg/usr $fs/
43 }