wok-6.x view cream/receipt @ rev 25026

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 10:39:49 2022 +0000 (2022-05-19)
parents f724bc80bf9f
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="cream"
4 VERSION="1.0-rc5"
5 CATEGORY="network"
6 TAGS="web-browser"
7 SHORT_DESC="Light web browser based on WebKit and using GTK+."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://sourceforge.net/projects/cream-browser/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/cream-browser/$TARBALL"
15 DEPENDS="gtk+ gcc-lib-base libwebkit libtasn1"
16 BUILD_DEPENDS="libwebkit-dev libwebkit libsoup-dev gtk+-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/cream-browser/files/cream-browser/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/cream-browser/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mv -f $PACKAGE $src 2> /dev/null
30 cd $src
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make -j 1 &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/usr $fs
45 }