wok annotate goldendict/receipt @ rev 22017

xcircuit: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 19 18:20:40 2019 +0200 (2019-10-19)
parents
children 932cd974e081
rev   line source
pascal@20020 1 # SliTaz package receipt.
pascal@20020 2
pascal@20020 3 PACKAGE="goldendict"
pascal@20020 4 VERSION="1.0.1"
pascal@20020 5 CATEGORY="office"
pascal@20020 6 SHORT_DESC="A feature-rich dictionary lookup program."
pascal@20020 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20020 8 LICENSE="GPL3"
pascal@20020 9 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
pascal@20020 10 WEB_SITE="http://goldendict.org/"
pascal@20020 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@20020 12
pascal@20020 13 DEPENDS="libQtWebkit libvorbis hunspell phonon xorg-libXtst"
pascal@20020 14 BUILD_DEPENDS="libvorbis-dev zlib-dev hunspell-dev xorg-dev qmake Qt4-dev \
pascal@20020 15 xorg-libXtst-dev phonon-dev"
pascal@20020 16
pascal@20020 17 # Rules to configure and make the package.
pascal@20020 18 compile_rules()
pascal@20020 19 {
pascal@20020 20 qmake && sed -i 's|local/||g' Makefile
pascal@20020 21 make &&
pascal@20020 22 make INSTALL_ROOT=$DESTDIR install
pascal@20020 23 }
pascal@20020 24
pascal@20020 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20020 26 genpkg_rules()
pascal@20020 27 {
pascal@20020 28 cp -a $install/usr $fs/
pascal@20020 29 }