wok-current rev 20110

Add netsurf-sdl
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 11 21:14:49 2017 +0200 (2017-10-11)
parents e4b9963526cc
children d311ba1a3e38
files netsurf-sdl/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netsurf-sdl/receipt	Wed Oct 11 21:14:49 2017 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.                                                          
     1.5 +                                                                                   
     1.6 +PACKAGE="netsurf-sdl"                                                              
     1.7 +VERSION="3.6"                                                                      
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A simple web browser, works without X using Ctr-Alt-F8 framebuffer."
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="${PACKAGE/-fb/}-all-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.netsurf-browser.org/"
    1.14 +WGET_URL="http://download.${WEB_SITE:10:19}/netsurf/releases/source-full/$TARBALL"
    1.15 +TAGS="web-browser"
    1.16 +BUGS="No unicode. No https."
    1.17 +
    1.18 +DEPENDS="expat libssl libcrypto libpng libjpeg libcurl libsdl libidn zlib"
    1.19 +BUILD_DEPENDS="$DEPENDS openssl-dev libpng-dev jpeg-dev lcms-dev re2c \
    1.20 +lemon curl-dev libxml2-dev expat-dev gperf flex bison perl-html-parser \
    1.21 +perl-html-tagset freetype-dev pango-dev libxml2-dev libcroco expat-dev \
    1.22 +librsvg-dev libidn-dev zlib-dev"
    1.23 +
    1.24 +# Rules to configure and make the package.
    1.25 +compile_rules()
    1.26 +{
    1.27 +	export LDFLAGS="$LDFLAGS -lrt"
    1.28 +	export CFLAGS="$CFLAGS -lrt"
    1.29 +	export CXXFLAGS="$CXXFLAGS -lrt"
    1.30 +	make install DESTDIR=$DESTDIR PREFIX=/usr TARGET=framebuffer
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cp -a $install/* $fs
    1.37 +	chown -R root.root $fs
    1.38 +}