wok-next view parted/receipt @ rev 19722
Up net-snmp (5.7.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 24 18:42:05 2017 +0200 (2017-05-24) |
parents | 87ab725ce92e |
children | 0e8dadf052b9 |
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 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
10 HOST_ARCH="i486 arm"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
15 DEPENDS="util-linux-uuid util-linux-blkid"
16 BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-blkid-dev"
17 SUGGESTED="btrfs-progs e2fsprogs f2fs-tools dosfstools mtools hfsutils \
18 hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs reiser4progs \
19 reiserfsprogs xfsprogs"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 patch -p1 < $stuff/device_mapper.u
25 grep -qs 'define u8' libparted/arch/linux.c ||
26 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
27 libparted/arch/linux.c
29 ./configure \
30 --disable-debug \
31 --disable-Werror \
32 --without-readline \
33 --disable-device-mapper \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/sbin $fs/usr
44 }