wok view parted/receipt @ rev 17212

cyrus-imapd: enable murder
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 10 15:22:16 2014 +0200 (2014-10-10)
parents 2b9f96603415
children 30d223dc104f
line source
1 # SliTaz package receipt.
3 PACKAGE="parted"
4 VERSION="3.1"
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 grep -qs 'define u8' libparted/arch/linux.c ||
21 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
22 libparted/arch/linux.c
23 ./configure \
24 --disable-debug \
25 --disable-Werror \
26 --without-readline \
27 --disable-device-mapper \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/sbin $fs/usr
38 }