wok view comix/receipt @ rev 25188
xorg-imake: update create-lib-cmd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 12 14:15:49 2022 +0000 (2022-07-12) |
parents | 16df76e1fc6a |
children | b0069c845544 |
line source
1 # SliTaz package receipt.
3 PACKAGE="comix"
4 VERSION="4.0.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Comix is an image viewer, specifically designed to handle comic books."
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://comix.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="viewer comic"
14 DEPENDS="python pygtk python-pil rar"
15 BUILD_DEPENDS="python pygtk-dev pygtk python-pil unrar"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/comix/files/comix/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/comix-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $DESTDIR/usr
29 python install.py --no-mime --dir $DESTDIR/usr install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/* $fs/usr/
37 }