wok-current annotate parted/receipt @ rev 25674
Add miss e1000e driver for linux64
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Mar 04 17:18:27 2024 +0000 (8 months ago) |
parents | 7e911016a644 |
children |
rev | line source |
---|---|
pankso@136 | 1 # SliTaz package receipt. |
pankso@136 | 2 |
pankso@136 | 3 PACKAGE="parted" |
pascal@17545 | 4 VERSION="3.2" |
pankso@211 | 5 CATEGORY="system-tools" |
pankso@136 | 6 SHORT_DESC="GNU parted partition editor." |
pankso@136 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@12488 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@136 | 10 WEB_SITE="http://www.gnu.org/software/parted/index.shtml" |
pankso@136 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@16381 | 12 HOST_ARCH="i486 arm" |
pankso@136 | 13 |
pankso@12488 | 14 DEPENDS="util-linux-uuid util-linux-blkid" |
pankso@12488 | 15 BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-blkid-dev" |
pascal@18703 | 16 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools hfsutils \ |
pascal@18703 | 17 hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs reiser4progs \ |
pascal@18703 | 18 reiserfsprogs xfsprogs" |
pankso@9902 | 19 |
pascal@24069 | 20 current_version() |
pascal@24069 | 21 { |
pascal@24069 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24069 | 23 sed '/parted-/!d;s|.*parted-||;s|.tar.*||' | sed '$!d' |
pascal@24069 | 24 } |
pascal@24069 | 25 |
pankso@136 | 26 # Rules to configure and make the package. |
pankso@136 | 27 compile_rules() |
pankso@136 | 28 { |
shann@25634 | 29 # Patch to be build with glibc 2.28 |
shann@25634 | 30 patch -p1 < $stuff/build_with_glibc-2.28.patch |
shann@25634 | 31 |
pascal@17545 | 32 patch -p1 < $stuff/device_mapper.u |
pascal@6114 | 33 grep -qs 'define u8' libparted/arch/linux.c || |
pascal@6114 | 34 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \ |
pascal@6114 | 35 libparted/arch/linux.c |
pankso@136 | 36 ./configure \ |
pankso@136 | 37 --disable-debug \ |
pankso@136 | 38 --disable-Werror \ |
pankso@136 | 39 --without-readline \ |
slaxemulator@10075 | 40 --disable-device-mapper \ |
slaxemulator@10075 | 41 $CONFIGURE_ARGS && |
pankso@9902 | 42 make && make install |
pankso@136 | 43 } |
pankso@136 | 44 |
pankso@136 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@136 | 46 genpkg_rules() |
pankso@136 | 47 { |
pankso@12488 | 48 mkdir -p $fs/usr/lib |
pankso@12488 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@12488 | 50 cp -a $install/usr/sbin $fs/usr |
pankso@136 | 51 } |