wok-6.x diff w3m/receipt @ rev 25497
Up w3m (0.5.3+git20220429)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Dec 09 14:24:30 2022 -0500 (18 months ago) |
parents | b0069c845544 |
children | f082c8c505e6 |
line diff
1.1 --- a/w3m/receipt Fri Oct 07 09:15:33 2022 +0000 1.2 +++ b/w3m/receipt Fri Dec 09 14:24:30 2022 -0500 1.3 @@ -7,12 +7,12 @@ 1.4 MAINTAINER="mojo@slitaz.org" 1.5 LICENSE="MIT" 1.6 WEB_SITE="https://w3m.sourceforge.net/index.en.html" 1.7 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.8 -WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$TARBALL" 1.9 +TARBALL="w3m_0.5.3+git20220429.orig.tar.xz" 1.10 +WGET_URL="https://deb.debian.org/debian/pool/main/w/$PACKAGE/$TARBALL" 1.11 TAGS="web-browser" 1.12 1.13 DEPENDS="gc libcrypto libssl ncurses imlib2" 1.14 -BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev imlib2-dev" 1.15 +BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev imlib2-dev gcc83" 1.16 1.17 current_version() 1.18 { 1.19 @@ -23,17 +23,13 @@ 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.24 - for i in $stuff/*.patch 1.25 - do 1.26 - if [ -f done.$(basename $i) ]; then 1.27 - continue 1.28 - else 1.29 - patch -p0 < $i && touch done.$(basename $i) || return 1 1.30 - fi 1.31 - done 1.32 - ./configure --enable-image=x11,fb --with-imagelib=imlib2 $CONFIGURE_ARGS 1.33 - make && make install 1.34 + ./configure \ 1.35 + CC=gcc-83 \ 1.36 + CXX=g++-83 \ 1.37 + --enable-image=x11,fb \ 1.38 + --with-imagelib=imlib2 \ 1.39 + $CONFIGURE_ARGS && 1.40 + make && make install 1.41 } 1.42 1.43 # Rules to gen a SliTaz package suitable for Tazpkg.