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