wok annotate goldendict/receipt @ rev 25017

updated openjpeg, openjpeg-dev and openjpeg-tools (1.5.0 -> 1.5.2)
author Hans-G?nter Theisgen
date Wed May 18 06:55:41 2022 +0100 (2022-05-18)
parents 02e8525ee5e4
children 6b33f9da53d4
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@24403 17 # What is the latest version available today?
pascal@24403 18 current_version()
pascal@24403 19 {
pascal@24403 20 wget -O - https://sourceforge.net/projects/goldendict/files/goldendict/ 2>/dev/null | \
pascal@24403 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24403 22 sed '/scope="row/!d;/-src/!d;s|.*/goldendict-||;s|-src.*||;q'
pascal@24403 23 }
pascal@24403 24
pascal@20020 25 # Rules to configure and make the package.
pascal@20020 26 compile_rules()
pascal@20020 27 {
pascal@20020 28 qmake && sed -i 's|local/||g' Makefile
pascal@20020 29 make &&
pascal@20020 30 make INSTALL_ROOT=$DESTDIR install
pascal@20020 31 }
pascal@20020 32
pascal@20020 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20020 34 genpkg_rules()
pascal@20020 35 {
pascal@20020 36 cp -a $install/usr $fs/
pascal@20020 37 }