# SliTaz package receipt. PACKAGE="comical" VERSION="0.8" CATEGORY="graphics" SHORT_DESC="Comic book reader" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" WEB_SITE="https://comical.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="wxWidgets28" BUILD_DEPENDS="wxWidgets28-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/comical/files/comical/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/comical/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { patch -p1 -i $stuff/comical-0.8_wx-2.8.patch make -j 1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/comical $fs/usr/bin }