wok view parted/receipt @ rev 24949

updated nagios-nsca (2.9.2 -> 2.10.1)
author Hans-G?nter Theisgen
date Fri Apr 22 17:54:28 2022 +0100 (2022-04-22)
parents 87ab725ce92e
children b81ceff0b056
line source
1 # SliTaz package receipt.
3 PACKAGE="parted"
4 VERSION="3.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU parted partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="util-linux-uuid util-linux-blkid"
15 BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-blkid-dev"
16 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools hfsutils \
17 hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs reiser4progs \
18 reiserfsprogs xfsprogs"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed '/parted-/!d;s|.*parted-||;s|.tar.*||' | sed '$!d'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 patch -p1 < $stuff/device_mapper.u
30 grep -qs 'define u8' libparted/arch/linux.c ||
31 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
32 libparted/arch/linux.c
33 ./configure \
34 --disable-debug \
35 --disable-Werror \
36 --without-readline \
37 --disable-device-mapper \
38 $CONFIGURE_ARGS &&
39 make && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/sbin $fs/usr
48 }