wok-current annotate netsurf/receipt @ rev 22937

updated hunspell and hunspell-dev again (1.3.3 -> 1.7.0)
author Hans-G?nter Theisgen
date Thu Feb 27 07:35:13 2020 +0100 (2020-02-27)
parents e6a4cd87fdcb
children 241fb98cab1c
rev   line source
pankso@2827 1 # SliTaz package receipt.
pankso@2827 2
pankso@2827 3 PACKAGE="netsurf"
Hans-G?nter@22402 4 VERSION="3.9"
pankso@2827 5 CATEGORY="network"
Hans-G?nter@22402 6 TAGS="web-browser"
pankso@2827 7 SHORT_DESC="A simple, fast and light web browser using GTK."
pankso@2827 8 MAINTAINER="pankso@slitaz.org"
pascal@15002 9 LICENSE="GPL2"
Hans-G?nter@22402 10 WEB_SITE="https://www.netsurf-browser.org/"
Hans-G?nter@22402 11
psychomaniak@16836 12 TARBALL="$PACKAGE-all-$VERSION.tar.gz"
pascal@15652 13 WGET_URL="http://download.netsurf-browser.org/netsurf/releases/source-full/$TARBALL"
pascal@15002 14
Hans-G?nter@22402 15 DEPENDS="gtk+ hubbub jpeg lcms libcss libcurl libglade libgsf libmng libnsgif
Hans-G?nter@22402 16 libparserutils libpng librsvg libssl libxml2 zlib"
Hans-G?nter@22402 17 BUILD_DEPENDS="$DEPENDS bison curl-dev expat-dev flex gperf gtk+-dev hubbub-dev
Hans-G?nter@22402 18 jpeg-dev lcms-dev lemon libcroco libcss-dev libglade-dev libmng-dev
Hans-G?nter@22402 19 libnsgif-dev libparserutils-dev libpng-dev librsvg-dev libwapcaplet-dev
Hans-G?nter@22402 20 libxml2-dev openssl-dev pango-dev perl-html-parser perl-html-tagset re2c
Hans-G?nter@22402 21 vim zlib-dev"
pankso@2827 22
pankso@2827 23 # Rules to configure and make the package.
pankso@2827 24 compile_rules()
pankso@2827 25 {
psychomaniak@16848 26 cp -a $stuff/Makefile.config .
erjo@5932 27
erjo@5932 28 # Fix install target
psychomaniak@16852 29 #sed -i 's/cp -vRL/cp -RL/' Makefile
psychomaniak@16852 30 #sed -i 's/cp -v/cp /' Makefile
Hans-G?nter@22402 31
Hans-G?nter@22402 32 make install \
Hans-G?nter@22402 33 DESTDIR=$DESTDIR \
Hans-G?nter@22402 34 PREFIX=/usr \
Hans-G?nter@22402 35 TARGET=gtk \
Hans-G?nter@22402 36 NETSURF_USE_WEBP=NO \
Hans-G?nter@22402 37 NETSURF_GTK_MAJOR=2 \
psychomaniak@16854 38 NETSURF_USE_VIDEO=NO
pankso@2827 39 }
pankso@2827 40
pankso@2827 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2827 42 genpkg_rules()
pankso@2827 43 {
Hans-G?nter@22402 44 mkdir -p $fs/usr/share
Hans-G?nter@22402 45 mkdir -p $fs/usr/lib/netsurf
Hans-G?nter@22402 46
Hans-G?nter@22402 47 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22402 48 cp -a $install/usr/share/netsurf $fs/usr/share
Hans-G?nter@22402 49
pankso@2827 50 # Remove files to save some space
pankso@2827 51 rm -rf $fs/usr/share/netsurf/docs
pankso@2827 52 rm -rf $fs/usr/share/netsurf/*.xpm
pankso@2827 53 rm -rf $fs/usr/share/netsurf/license
Hans-G?nter@22402 54
pankso@2835 55 # Webhome
Hans-G?nter@22402 56 cp -a $stuff/welcome.* $fs/usr/share/netsurf
pankso@19713 57 rm $fs/usr/share/netsurf/*/welcome.html
pankso@2835 58 chown -R root.root $fs
pankso@2827 59 }