wok view parted/receipt @ rev 14461
Up: geany (1.23)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:56:24 2013 +0200 (2013-04-27) |
parents | 73641efed1cc |
children | 2b9f96603415 |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="util-linux-uuid util-linux-blkid"
13 BUILD_DEPENDS="e2fsprogs-dev util-linux-uuid-dev util-linux-blkid-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 grep -qs 'define u8' libparted/arch/linux.c ||
20 sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
21 libparted/arch/linux.c
22 ./configure \
23 --disable-debug \
24 --disable-Werror \
25 --without-readline \
26 --disable-device-mapper \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/sbin $fs/usr
37 }