wok annotate ht/receipt @ rev 20528

linld: pascal convention calls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 09 16:37:55 2018 +0100 (2018-11-09)
parents fdc47644be0f
children ba7cbdb5749c
rev   line source
pascal@4382 1 # SliTaz package receipt.
pascal@4382 2
pascal@4382 3 PACKAGE="ht"
pascal@18360 4 VERSION="2.1.0"
pascal@4382 5 CATEGORY="development"
pascal@4382 6 SHORT_DESC="File viewer/editor/analyser for text/binary/executable files."
pascal@4382 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="GPL2"
pascal@18360 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@4382 10 WEB_SITE="http://hte.sourceforge.net/"
pascal@4382 11 WGET_URL="$SF_MIRROR/hte/$TARBALL"
al@19168 12 TAGS="viewer text-editor analysis"
pascal@15600 13
pascal@4382 14 DEPENDS="gcc-lib-base lzo ncurses xorg-libX11 xorg-libXau xorg-libXdmcp"
pascal@4382 15 BUILD_DEPENDS="lzo-dev ncurses-dev"
pascal@4382 16
pascal@4382 17 # Rules to configure and make the package.
pascal@4382 18 compile_rules()
pascal@4382 19 {
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
pascal@4382 21 chmod +x install-sh
pascal@4382 22 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@17502 23 --mandir=/usr/share/man \
pascal@4382 24 $CONFIGURE_ARGS &&
pascal@4382 25 make &&
pascal@15600 26 make DESTDIR=$DESTDIR install
pascal@4382 27 }
pascal@4382 28
pascal@4382 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4382 30 genpkg_rules()
pascal@4382 31 {
pascal@15600 32 cp -a $install/usr $fs
pascal@4382 33 }