wok view goldendict/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 6b33f9da53d4 |
children |
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|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*ict-||;s|[_-].*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 qmake && sed -i 's|local/||g' Makefile
30 make &&
31 make INSTALL_ROOT=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs/
38 }