wok-current view parted/receipt @ rev 19870

linld: fix progname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 15:54:03 2017 +0200 (2017-03-30)
parents 30d223dc104f
children 7e911016a644
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 patch -p1 < $stuff/device_mapper.u
24 grep -qs 'define u8' libparted/arch/linux.c ||
25 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
26 libparted/arch/linux.c
27 ./configure \
28 --disable-debug \
29 --disable-Werror \
30 --without-readline \
31 --disable-device-mapper \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/sbin $fs/usr
42 }