wok view ht/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents ba7cbdb5749c
children 65ff25c4de90
line source
1 # SliTaz package receipt.
3 PACKAGE="ht"
4 VERSION="2.1.0"
5 CATEGORY="development"
6 SHORT_DESC="File viewer/editor/analyser for text/binary/executable files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://hte.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/hte/$TARBALL"
12 TAGS="viewer text-editor analysis"
14 DEPENDS="gcc-lib-base lzo ncurses xorg-libX11 xorg-libXau xorg-libXdmcp"
15 BUILD_DEPENDS="lzo-dev ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/hte/files/ht-source/ 2>/dev/null | \
21 sed '/scope="row/!d;/tar/!d;s|.*/ht-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
28 chmod +x install-sh
29 ./configure --prefix=/usr --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 }