wok-6.x view parted/receipt @ rev 10017

thunar-archive-plugin: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu May 19 12:28:58 2011 +0200 (2011-05-19)
parents e5ae411e1d8c
children bfdad5e4caeb
line source
1 # SliTaz package receipt.
3 PACKAGE="parted"
4 VERSION="2.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU parted partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/parted/index.shtml"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="util-linux-ng-uuid util-linux-ng-blkid"
13 BUILD_DEPENDS="e2fsprogs-dev util-linux-ng-uuid-dev util-linux-ng-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 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share/locale
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/sbin $fs/usr
36 }