wok-6.x view stardict/receipt @ rev 7379
stardict:delete strange label in the receipt of stardict
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Thu Nov 25 22:56:24 2010 +0000 (2010-11-25) |
parents | 1cf37c99304a |
children | 940b5937e496 |
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 xorg-libSM-dev zlib-dev util-linux-ng-uuid-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://stardict.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 < ../stuff/sigc++.patch || return 1
19 patch -p1 < ../stuff/stardict_gcc43.patch || return 1
21 ./configure \
22 --prefix=/usr \
23 --disable-man \
24 --disable-qqwry \
25 --sysconfdir=/etc \
26 --disable-gnome-support \
27 --disable-schemas-install \
28 --disable-espeak \
29 --disable-gucharmap \
30 --disable-festival \
31 --disable-advertisement \
32 --disable-updateinfo &&
33 make && make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $_pkg/usr $fs/
41 }