wok-current rev 20020

Add goldendict
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 15 13:00:49 2017 +0200 (2017-08-15)
parents a832eb25949c
children 87c81aded325
files goldendict/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/goldendict/receipt	Tue Aug 15 13:00:49 2017 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="goldendict"
     1.7 +VERSION="1.0.1"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="A feature-rich dictionary lookup program."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
    1.13 +WEB_SITE="http://goldendict.org/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libQtWebkit libvorbis hunspell phonon xorg-libXtst"
    1.17 +BUILD_DEPENDS="libvorbis-dev zlib-dev hunspell-dev xorg-dev qmake Qt4-dev \
    1.18 +xorg-libXtst-dev phonon-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	qmake && sed -i 's|local/||g' Makefile
    1.24 +	make &&
    1.25 +	make INSTALL_ROOT=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/usr $fs/
    1.32 +}