wok-current annotate comical/receipt @ rev 24992

Up sip (4.19.25)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 18:19:29 2022 +0000 (2022-05-14)
parents affba9aecc73
children 7dd01dedad38
rev   line source
al@14128 1 # SliTaz package receipt.
al@14128 2
al@14128 3 PACKAGE="comical"
al@14128 4 VERSION="0.8"
al@14128 5 CATEGORY="graphics"
al@14128 6 SHORT_DESC="Comic book reader"
al@14128 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL2"
al@14128 9 WEB_SITE="http://comical.sourceforge.net/"
al@14128 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@14128 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@14128 12
al@18521 13 DEPENDS="wxWidgets28"
al@18521 14 BUILD_DEPENDS="wxWidgets28-dev"
al@14128 15
pascal@24373 16 # What is the latest version available today?
pascal@24373 17 current_version()
pascal@24373 18 {
pascal@24373 19 wget -O - https://sourceforge.net/projects/comical/files/comical/ 2>/dev/null | \
pascal@24373 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24373 21 sed '/scope="row/!d;s|.*/comical/||;s|/.*||;q'
pascal@24373 22 }
pascal@24373 23
al@14128 24 # Rules to configure and make the package.
al@14128 25 compile_rules()
al@14128 26 {
al@14128 27 patch -p1 -i $stuff/comical-0.8_wx-2.8.patch
al@14128 28 make -j 1
al@14128 29 }
al@14128 30
al@14128 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14128 32 genpkg_rules()
al@14128 33 {
al@14128 34 mkdir -p $fs/usr/bin
al@14128 35 cp -a $src/comical $fs/usr/bin
al@14128 36 }