wok view ht/receipt @ rev 18442

jsoncpp: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 11:29:26 2015 +0200 (2015-09-24)
parents 17e313b5b9c1
children a6f7b6b890c2
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 analyzer"
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 }