wok-current annotate comix/receipt @ rev 24830
busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 24 06:49:50 2022 +0100 (2022-03-24) |
parents | 16df76e1fc6a |
children | b0069c845544 |
rev | line source |
---|---|
mallory@2333 | 1 # SliTaz package receipt. |
mallory@2333 | 2 |
mallory@2333 | 3 PACKAGE="comix" |
mallory@3176 | 4 VERSION="4.0.4" |
mallory@2333 | 5 CATEGORY="graphics" |
pascal@14277 | 6 SHORT_DESC="Comix is an image viewer, specifically designed to handle comic books." |
pascal@14277 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15002 | 8 LICENSE="GPL2" |
mallory@2333 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@2333 | 10 WEB_SITE="http://comix.sourceforge.net" |
mallory@2333 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4933 | 12 TAGS="viewer comic" |
mallory@2333 | 13 |
pascal@15002 | 14 DEPENDS="python pygtk python-pil rar" |
pascal@15002 | 15 BUILD_DEPENDS="python pygtk-dev pygtk python-pil unrar" |
pascal@15002 | 16 |
pascal@24373 | 17 # What is the latest version available today? |
pascal@24373 | 18 current_version() |
pascal@24373 | 19 { |
pascal@24373 | 20 wget -O - https://sourceforge.net/projects/comix/files/comix/ 2>/dev/null | \ |
pascal@24373 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24373 | 22 sed '/scope="row/!d;s|.*/comix-||;s|.tar.*||;q' |
pascal@24373 | 23 } |
pascal@24373 | 24 |
mallory@2333 | 25 # Rules to configure and make the package. |
mallory@2333 | 26 compile_rules() |
mallory@2333 | 27 { |
pascal@15002 | 28 mkdir -p $DESTDIR/usr |
pascal@15002 | 29 python install.py --no-mime --dir $DESTDIR/usr install |
mallory@2333 | 30 } |
mallory@2333 | 31 |
mallory@2333 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2333 | 33 genpkg_rules() |
mallory@2333 | 34 { |
mallory@2333 | 35 mkdir -p $fs/usr |
pascal@15002 | 36 cp -a $install/usr/* $fs/usr/ |
mallory@2333 | 37 } |