wok-current view parted/receipt @ rev 18558

btrfs-progs: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 08 14:25:50 2015 +0100 (2015-11-08)
parents f498b54a20cd
children 87ab725ce92e
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch -p1 < $stuff/device_mapper.u
21 grep -qs 'define u8' libparted/arch/linux.c ||
22 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
23 libparted/arch/linux.c
24 ./configure \
25 --disable-debug \
26 --disable-Werror \
27 --without-readline \
28 --disable-device-mapper \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/sbin $fs/usr
39 }