wok-current annotate xrestop/receipt @ rev 20254

firefox: force 32 bits arch (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 22:19:24 2018 +0100 (2018-03-12)
parents 17e313b5b9c1
children 535c806240cc
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"
pascal@18334 8 LICENSE="GPL2"
paul@17490 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@17490 10 WEB_SITE="http://www.freedesktop.org/wiki/Software/xrestop/"
paul@17490 11 WGET_URL="http://downloads.yoctoproject.org/releases/xrestop/$TARBALL"
paul@17490 12
paul@17494 13 DEPENDS="ncurses xorg-libXres libtinfo"
paul@17490 14 BUILD_DEPENDS="ncurses-dev xorg-libXres-dev"
paul@17490 15
paul@17490 16 # Rules to configure and make the package.
paul@17490 17 compile_rules()
paul@17490 18 {
pascal@17670 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
paul@17490 20 ./configure --prefix=/usr
paul@17490 21 make
paul@17490 22 make install
paul@17490 23 }
paul@17490 24
paul@17490 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@17490 26 genpkg_rules()
paul@17490 27 {
paul@17490 28 mkdir -p $fs/usr
paul@17490 29 cp -a $install/usr/bin $fs/usr
paul@17490 30 }
paul@17490 31