
Receipt for package "kexec-tools"
# SliTaz package receipt. PACKAGE="kexec-tools" VERSION="2.0.23" CATEGORY="system-tools" SHORT_DESC="Directly boot into a new kernel." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/kexec/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="${WEB_SITE}$TARBALL" DEPENDS="zlib" BUILD_DEPENDS="liblzma-dev zlib-dev" HOST_ARCH="i486 arm x86_64" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/rc/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -lpthread" case "$ARCH" in i?86) ./configure prefix=/usr \ --build=$BUILD_SYSTEM \ --host=$HOST_SYSTEM \ --target=i386-linux ;; *) ./configure prefix=/usr \ --build=$BUILD_SYSTEM \ --host=$HOST_SYSTEM ;; esac && make && make install DESTDIR=$DESTDIR } # Important cross compiled package so run readelf. testsuite() { cd $install readelf -h usr/sbin/kexec } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders lib cook_copy_folders sbin }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)