wok view goldendict/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents 02e8525ee5e4
children 6b33f9da53d4
line source
1 # SliTaz package receipt.
3 PACKAGE="goldendict"
4 VERSION="1.0.1"
5 CATEGORY="office"
6 SHORT_DESC="A feature-rich dictionary lookup program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
10 WEB_SITE="http://goldendict.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libQtWebkit libvorbis hunspell phonon xorg-libXtst"
14 BUILD_DEPENDS="libvorbis-dev zlib-dev hunspell-dev xorg-dev qmake Qt4-dev \
15 xorg-libXtst-dev phonon-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/goldendict/files/goldendict/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;/-src/!d;s|.*/goldendict-||;s|-src.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 qmake && sed -i 's|local/||g' Makefile
29 make &&
30 make INSTALL_ROOT=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs/
37 }