wok annotate xrestop/receipt @ rev 17670

Add missing -ltinfo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 17 09:42:47 2015 +0100 (2015-02-17)
parents 15425b9b6175
children 46fc8daa3b41
rev   line source
paul@17490 1 # SliTaz package receipt.
paul@17490 2
paul@17490 3 PACKAGE="xrestop"
paul@17490 4 VERSION="0.4"
paul@17490 5 CATEGORY="utilities"
paul@17490 6 SHORT_DESC="X11 server resource usage monitor."
paul@17490 7 MAINTAINER="paul@slitaz.org"
paul@17490 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@17490 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/xrestop/"
paul@17490 10 WGET_URL="http://downloads.yoctoproject.org/releases/xrestop/$TARBALL"
paul@17490 11
paul@17494 12 DEPENDS="ncurses xorg-libXres libtinfo"
paul@17490 13 BUILD_DEPENDS="ncurses-dev xorg-libXres-dev"
paul@17490 14
paul@17490 15 # Rules to configure and make the package.
paul@17490 16 compile_rules()
paul@17490 17 {
pascal@17670 18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
paul@17490 19 ./configure --prefix=/usr
paul@17490 20 make
paul@17490 21 make install
paul@17490 22 }
paul@17490 23
paul@17490 24 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@17490 25 genpkg_rules()
paul@17490 26 {
paul@17490 27 mkdir -p $fs/usr
paul@17490 28 cp -a $install/usr/bin $fs/usr
paul@17490 29 }
paul@17490 30