wok-current view netsurf-sdl/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 4ecb2ba9c210 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="netsurf-sdl"
4 PROVIDE="netsurf-fb"
5 VERSION="3.9"
6 CATEGORY="network"
7 TAGS="web-browser"
8 SHORT_DESC="A simple web browser, works without X using Ctr-Alt-F8 framebuffer."
9 MAINTAINER="psychomaniak@xakep.ru"
10 LICENSE="GPL2"
11 WEB_SITE="https://www.netsurf-browser.org/"
13 TARBALL="${PACKAGE/-sdl/}-all-$VERSION.tar.gz"
14 WGET_URL="http://download.netsurf-browser.org/netsurf/releases/source-full/$TARBALL"
16 DEPENDS="expat libcrypto libcurl libidn libjpeg libpng libsdl libssl zlib"
17 BUILD_DEPENDS="$DEPENDS bison coreutils-multicall curl-dev expat-dev flex
18 freetype-dev gperf jpeg-dev lcms-dev lemon libcroco libidn-dev
19 libpng-dev librsvg-dev libsdl-dev libxml2-dev openssl-dev
20 pango-dev perl-html-parser perl-html-tagset re2c vim zlib-dev"
22 BUGS="No unicode. No https."
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
28 sed '/netsurf-all-[0-9]/!d;/tar/!d;s|.*netsurf-all-||;s|.tar.*||' | sort -Vr | sed q
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 export LDFLAGS="$LDFLAGS -lrt"
35 export CFLAGS="$CFLAGS -lrt"
36 export CXXFLAGS="$CXXFLAGS -lrt"
38 make install DESTDIR=$DESTDIR PREFIX=/usr TARGET=framebuffer
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 chown -R root.root $fs
46 }