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