wok annotate slurm/receipt @ rev 18524

expat-dev: add pkgconfig stuff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 26 15:50:10 2015 +0200 (2015-10-26)
parents 3ba8d2c9720d
children 6135577f4d08
rev   line source
paul@3439 1 # SliTaz package receipt.
paul@3439 2
paul@3439 3 PACKAGE="slurm"
paul@3439 4 VERSION="0.3.3"
paul@3439 5 CATEGORY="network"
paul@3439 6 SHORT_DESC="Realtime network interface monitor."
paul@3439 7 MAINTAINER="paul@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
paul@3439 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3439 10 WEB_SITE="http://www.wormulon.net/slurm/"
paul@3439 11 WGET_URL="http://www.wormulon.net/slurm/$TARBALL"
paul@3439 12
pascal@15593 13 DEPENDS="ncurses"
pascal@15616 14 BUILD_DEPENDS="ncurses-dev automake autoconf"
pascal@15593 15
paul@3439 16 # Rules to configure and make the package.
paul@3439 17 compile_rules()
paul@3439 18 {
pascal@17673 19 sed -i 's|lncurses|& -ltinfo|' *
paul@3439 20 ./configure \
paul@3439 21 --prefix=/usr \
paul@3439 22 --infodir=/usr/share/info \
paul@3439 23 --mandir=/usr/share/man \
paul@3439 24 $CONFIGURE_ARGS &&
pascal@15593 25 make && make DESTDIR=$DESTDIR install
paul@3439 26 }
paul@3439 27
paul@3439 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3439 29 genpkg_rules()
paul@3439 30 {
paul@3439 31 mkdir -p $fs/usr
pascal@15593 32 cp -a $install/usr/bin $fs/usr
paul@3439 33 }