wok annotate links-dfb/receipt @ rev 24779

thttpd: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 18:08:11 2022 +0000 (2022-03-19)
parents 645cc58cf94c
children 3450e9a2d1f6
rev   line source
pankso@16151 1 # SliTaz package receipt.
pankso@16151 2
pankso@16151 3 PACKAGE="links-dfb"
Hans-G?nter@23135 4 VERSION="2.20.2"
pankso@16151 5 CATEGORY="network"
pankso@16151 6 SHORT_DESC="Light and fast web browser using Ncurses, X or DirectFB."
pankso@16151 7 MAINTAINER="pankso@slitaz.org"
pankso@16151 8 LICENSE="GPL2"
Hans-G?nter@21362 9 WEB_SITE="http://links.twibright.com/"
Hans-G?nter@21362 10
pankso@16151 11 SOURCE="links"
pankso@16151 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@16151 13 WGET_URL="http://links.twibright.com/download/$TARBALL"
Hans-G?nter@21362 14
pankso@16151 15 PROVIDE="links"
Hans-G?nter@23135 16 DEPENDS="directfb jpeg libgomp libpng ncurses openssl tiff zlib"
Hans-G?nter@23135 17 BUILD_DEPENDS="directfb-dev jpeg-dev libpng-dev ncurses-dev openssl-dev
Hans-G?nter@23135 18 tiff-dev zlib-dev "
Hans-G?nter@21362 19
Hans-G?nter@21362 20 HOST_ARCH="i486 arm"
pankso@16151 21
pascal@24447 22 # What is the latest version available today?
pascal@24447 23 current_version()
pascal@24447 24 {
pascal@24447 25 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 26 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 27 }
pascal@24447 28
pankso@16151 29 # Rules to configure and make the package.
pankso@16151 30 compile_rules()
pankso@16151 31 {
pascal@16165 32 sed -i 's/\*last_val/last_val/' dip.c
Hans-G?nter@21362 33
Hans-G?nter@21362 34 ./configure \
Hans-G?nter@21362 35 --prefix=/usr \
Hans-G?nter@21362 36 --sysconfdir=/etc \
Hans-G?nter@21362 37 --mandir=/usr/share/man \
Hans-G?nter@21362 38 --with-directfb \
Hans-G?nter@21362 39 --without-bzip2 \
Hans-G?nter@21362 40 --enable-graphics \
pankso@16151 41 $CONFIGURE_ARGS &&
Hans-G?nter@21362 42 make -j 1 &&
pankso@16151 43 make DESTDIR=$DESTDIR install
pankso@16151 44 }
pankso@16151 45
pankso@16151 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16151 47 genpkg_rules()
pankso@16151 48 {
pankso@16151 49 mkdir -p $fs/usr/share/pixmaps
Hans-G?nter@21362 50
Hans-G?nter@21362 51 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21362 52 cp $src/graphics/links.xpm $fs/usr/share/pixmaps
pankso@16151 53 }