wok-6.x diff stardict/receipt @ rev 7378

add:stardict
author fireflyoo <lufeng369@gmail.com>
date Thu Nov 25 22:38:14 2010 +0000 (2010-11-25)
parents
children 8f46f2d72b1f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/stardict/receipt	Thu Nov 25 22:38:14 2010 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="stardict"
     1.7 +VERSION="3.0.1"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="A powerful international dictionary written in Gtk2"
    1.10 +MAINTAINER="lufeng369@gmail.com"
    1.11 +DEPENDS="enchant libsigc++ gtk+ xorg-libSM"
    1.12 +BUILD_DEPENDS="bzip2 enchant-dev tar intltool popt libsigc++-dev gtk+-dev xorg-libSM-dev zlib-dev util-linux-ng-uuid-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://stardict.sourceforge.net"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +    cd $src
    1.21 +       patch -p1 <  ../stuff/sigc++.patch || return 1
    1.22 +   patch -p1 < ../stuff/stardict_gcc43.patch || return 1
    1.23 +
    1.24 +    ./configure \
    1.25 +        --prefix=/usr \
    1.26 +        --disable-man \
    1.27 +        --disable-qqwry \
    1.28 +        --sysconfdir=/etc \
    1.29 +        --disable-gnome-support \
    1.30 +        --disable-schemas-install \
    1.31 +        --disable-espeak \
    1.32 +        --disable-gucharmap \
    1.33 +        --disable-festival \
    1.34 +        --disable-advertisement \
    1.35 +        --disable-updateinfo &&
    1.36 +    make && make DESTDIR=$PWD/_pkg install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +    mkdir -p $fs/usr
    1.43 +    cp -a $_pkg/usr $fs/
    1.44 +}