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