wok view ipmitool/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
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 }