wok view ht/receipt @ rev 24430
updated collectd-apache and collectd-dev (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 16:39:44 2022 +0100 (2022-02-12) |
parents | a6f7b6b890c2 |
children | 7dd01dedad38 |
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="http://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 }