wok-6.x view stardict/receipt @ rev 12481
Rename linux-util-ng to util-linux in all packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:30:27 2012 +0200 (2012-04-23) |
parents | 1bb33c02f21c |
children | 4454b920a23d |
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://stardict.sourceforge.net"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$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 }