wok view cream/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 69e1e705f038 |
children |
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }