Receipt for package "parted"
# SliTaz package receipt. PACKAGE="parted" VERSION="3.2" CATEGORY="system-tools" SHORT_DESC="GNU parted partition editor." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://www.gnu.org/software/parted/index.shtml" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" HOST_ARCH="i486 arm" DEPENDS="util-linux-uuid util-linux-blkid" BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-blkid-dev" SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools hfsutils \ hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs reiser4progs \ reiserfsprogs xfsprogs" # What is the latest version available today? current_version() { wget -O - https://ftp.gnu.org/gnu/parted/ 2>/dev/null | \ sed '/parted-/!d;s|.*parted-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { patch -p1 < $stuff/device_mapper.u grep -qs 'define u8' libparted/arch/linux.c || sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ libparted/arch/linux.c ./configure \ --disable-debug \ --disable-Werror \ --without-readline \ --disable-device-mapper \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/sbin $fs/usr }
5935 packages and 845883 files in cooking database (Sun Jun 2 00:46:56 2024)