wok view ipmitool/receipt @ rev 25038

make cups-filters compile with qpdf-dev-10.6.1
author Hans-G?nter Theisgen
date Thu May 26 10:57:02 2022 +0100 (2022-05-26)
parents ba7cbdb5749c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ipmitool"
4 VERSION="1.8.18"
5 CATEGORY="network"
6 SHORT_DESC="IPMIv1.5 or IPMIv2.0 LAN interface."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/ipmitool/ipmitool"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="libcrypto ncurses zlib"
15 BUILD_DEPENDS="ncurses-dev openssl-dev readline-dev zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/ipmitool/ipmitool/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/IPMITOOL_*\(.*\).tar.*|\1|;s|_|.|g;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --enable-intf-open \
30 --enable-ipmishell \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/sbin $fs/usr
44 cp -a $install/usr/share/ipmitool $fs/usr/share
45 }