wok-6.x view ht/receipt @ rev 21613

Add lzsa
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 23 18:15:32 2019 +0200 (2019-05-23)
parents fdc47644be0f
children ba7cbdb5749c
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 chmod +x install-sh
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }