wok-6.x annotate squidview/receipt @ rev 17672
Add missing -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 17 12:55:08 2015 +0100 (2015-02-17) |
parents | f1a4ac9c631f |
children | bf50132c9c5e |
rev | line source |
---|---|
pascal@16145 | 1 # SliTaz package receipt. |
pascal@16145 | 2 |
pascal@16145 | 3 PACKAGE="squidview" |
pascal@16145 | 4 VERSION="0.80" |
pascal@16145 | 5 CATEGORY="network" |
pascal@16145 | 6 SHORT_DESC="Monitors and displays squid logs in console." |
pascal@16145 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16145 | 8 LICENSE="GPL2" |
pascal@16145 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16145 | 10 WEB_SITE="http://www.rillion.net/squidview/" |
pascal@16145 | 11 WGET_URL="$WEB_SITE$TARBALL" |
pascal@16145 | 12 |
pascal@16145 | 13 DEPENDS="ncurses gcc-lib-base" |
pascal@16145 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@16145 | 15 |
pascal@16145 | 16 # Rules to configure and make the package. |
pascal@16145 | 17 compile_rules() |
pascal@16145 | 18 { |
pascal@17672 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@16145 | 20 ./configure --prefix=/usr \ |
pascal@16145 | 21 --mandir=/usr/share/man \ |
pascal@16145 | 22 $CONFIGURE_ARGS && |
pascal@16145 | 23 make && |
pascal@16145 | 24 make DESTDIR=$DESTDIR install |
pascal@16145 | 25 } |
pascal@16145 | 26 |
pascal@16145 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16145 | 28 genpkg_rules() |
pascal@16145 | 29 { |
pascal@16145 | 30 mkdir -p $fs/usr |
pascal@16145 | 31 cp -a $install/usr/bin $fs/usr |
pascal@16145 | 32 } |