wok-current view parted/receipt @ rev 16274

Up: git (1.9.1)
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 05 21:34:07 2014 +0000 (2014-04-05)
parents 8b83d9830ba2
children f498b54a20cd
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"
13 DEPENDS="util-linux-uuid util-linux-blkid"
14 BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-blkid-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 }