wok-current view netsurf-sdl/receipt @ rev 20110

Add netsurf-sdl
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 11 21:14:49 2017 +0200 (2017-10-11)
parents
children d311ba1a3e38
line source
1 # SliTaz package receipt.
3 PACKAGE="netsurf-sdl"
4 VERSION="3.6"
5 CATEGORY="network"
6 SHORT_DESC="A simple web browser, works without X using Ctr-Alt-F8 framebuffer."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE/-fb/}-all-$VERSION.tar.gz"
10 WEB_SITE="http://www.netsurf-browser.org/"
11 WGET_URL="http://download.${WEB_SITE:10:19}/netsurf/releases/source-full/$TARBALL"
12 TAGS="web-browser"
13 BUGS="No unicode. No https."
15 DEPENDS="expat libssl libcrypto libpng libjpeg libcurl libsdl libidn zlib"
16 BUILD_DEPENDS="$DEPENDS openssl-dev libpng-dev jpeg-dev lcms-dev re2c \
17 lemon curl-dev libxml2-dev expat-dev gperf flex bison perl-html-parser \
18 perl-html-tagset freetype-dev pango-dev libxml2-dev libcroco expat-dev \
19 librsvg-dev libidn-dev zlib-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export LDFLAGS="$LDFLAGS -lrt"
25 export CFLAGS="$CFLAGS -lrt"
26 export CXXFLAGS="$CXXFLAGS -lrt"
27 make install DESTDIR=$DESTDIR PREFIX=/usr TARGET=framebuffer
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 chown -R root.root $fs
35 }